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