Ejemplo n.º 1
0
        public static void Main()
        {
            string start = Console.ReadLine();
            string end   = Console.ReadLine();

            DateModifier modifier = new DateModifier(start, end);

            Console.WriteLine(modifier.DifferenceBwtweenTwoDates());
        }
Ejemplo n.º 2
0
        public static void Main()
        {
            var firstDateString  = Console.ReadLine();
            var secondDateString = Console.ReadLine();

            var dateModifier = new DateModifier(firstDateString, secondDateString);

            Console.WriteLine(dateModifier.difference);
        }
Ejemplo n.º 3
0
        public static void Main()
        {
            var firstDate      = Console.ReadLine();
            var secondDate     = Console.ReadLine();
            var dateModifier   = new DateModifier(firstDate, secondDate);
            var daysDifference = dateModifier.CalculateDaysDifference();

            Console.WriteLine(daysDifference);
        }