Beispiel #1
0
        static void Main(string[] args)
        {
            string firstDate  = Console.ReadLine();
            string secondDate = Console.ReadLine();
            long   days       = Math.Abs(DateModifier.DaysBetween(firstDate, secondDate));

            Console.WriteLine(days);
        }
Beispiel #2
0
        public static void Main()
        {
            string firsDate   = Console.ReadLine();
            string secondDate = Console.ReadLine();

            DateModifier date = new DateModifier(firsDate, secondDate);

            Console.WriteLine(date.DaysBetween());
        }