Browse by Tags

Tagged Content List
  • Blog Post: WTF: DateTime.AddDays() is not working as expected

    Working with following code on DateTime AddDays operation I found end result is not the addition of days!! int increment = 5; DateTime now = DateTime.Now; //Current Date now.AddDays(increment); //Increment by 5 days Console.WriteLine( "Today's date:" + DateTime.Now); Console.WriteLine( "New Date:...
Page 1 of 1 (1 items)