Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Globalization;
- namespace day1000
- {
- class Program
- {
- static void Main(string[] args)
- {
- var Date = DateTime.ParseExact(Console.ReadLine(), "dd-MM-yyyy", CultureInfo.InstalledUICulture);
- Console.WriteLine(Date.AddDays(999).ToString("dd-MM-yyyy"));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement