Beispiel #1
0
        public static void Main(string[] args)
        {
            string firstDate  = Console.ReadLine();
            string secondDate = Console.ReadLine();

            Console.WriteLine(Math.Abs(DateModifier.DaysDifference(firstDate, secondDate)));
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            string startDate = Console.ReadLine();
            string endDate   = Console.ReadLine();

            DateModifier dateModifier = new DateModifier(startDate, endDate);

            Console.WriteLine(dateModifier.DaysDifference());
        }