static void Main()
        {
            string firstDate  = Console.ReadLine();
            string secondDate = Console.ReadLine();

            DateModifier dateModifier = new DateModifier(firstDate, secondDate);

            Console.WriteLine(dateModifier.GetDifference(dateModifier.FromDate, dateModifier.ToDate));
        }
Ejemplo n.º 2
0
        public static void Main()
        {
            var dateOne = Console.ReadLine();
            var dateTwo = Console.ReadLine();

            var dayModifier    = new DateModifier();
            var daysDifference = dayModifier.GetDaysDifference(dateOne, dateTwo);

            Console.WriteLine(daysDifference);
        }