public static void Main(string[] args)
        {
            var dateOne = Console.ReadLine();
            var dateTwo = Console.ReadLine();

            DateModifier dateModifier = new DateModifier();

            var result = dateModifier.FindDifference(dateOne, dateTwo);

            Console.WriteLine(result);
        }
Beispiel #2
0
        static void Main()
        {
            string first  = Console.ReadLine();
            string second = Console.ReadLine();

            var firstDate  = SplitDate(first);
            var secondDate = SplitDate(second);

            var dateModifier_1 = new DateModifier(firstDate[0], firstDate[1], firstDate[2]);
            var dateModifier_2 = new DateModifier(secondDate[0], secondDate[1], secondDate[2]);

            Console.WriteLine(dateModifier_1.FindDifference(dateModifier_2));
        }