Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _1000daysAftBird
- {
- class Program
- {
- static void Main()
- {
- string dt = (Console.ReadLine());
- string format = "dd-MM-yyyy";
- string dt2 = (DateTime.Parse(dt).AddDays(999)).ToString(format);
- Console.WriteLine(dt2);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement