Пример #1
0
        static void Main(string[] args)
        {
            string firstDate  = Console.ReadLine();
            string secondDate = Console.ReadLine();

            int days = DateModifier.GetDiffBetweenDatesInDays(firstDate, secondDate);

            Console.WriteLine(days);
        }
Пример #2
0
        public static void Main()
        {
            //1992 05 31          8783
            //2016 06 17

            string firstD  = Console.ReadLine();
            string secondD = Console.ReadLine();
            int    days    = DateModifier.GetDiffBetweenDatesInDays(firstD, secondD);

            Console.WriteLine(Math.Abs(days));
        }