Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Globalization;
- using System.IO;
- namespace AThousandDaysOnEarth
- {
- class Program
- {
- static void Main(string[] args)
- {
- string date = Console.ReadLine();
- DateTime start = DateTime.ParseExact(date,"dd-MM-yyyy", CultureInfo.InvariantCulture);
- Console.WriteLine("{0:dd-MM-yyyy}",start.AddDays(999));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment