DateTime now = DateTime.Now; DateTime then = now.AddMonths(-3); Console.WriteLine(then.ToString());
Dim now As DateTime = DateTime.Now Dim past As DateTime = now.AddMonths(-3) Console.WriteLine(past.ToString())
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)