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