static void Main(string[] args)
        {
            string first  = Console.ReadLine();
            string second = Console.ReadLine();
            int    days   = DateModifier.CalculateDifferenceInDays(first, second);

            Console.WriteLine(days);
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            string firstDate  = Console.ReadLine();
            string secondDate = Console.ReadLine();

            DateModifier dateModifier = new DateModifier(firstDate, secondDate);

            Console.WriteLine(Math.Abs(dateModifier.CalculateDifferenceInDays()));
        }