Tech Off Post

Single Post Permalink

View Thread: DateTime.Day problem in C++.NET
  • User profile image
    brussell

    Just realized I was in Release build and wasn't using the variable anywhere yet so it was being optimized away.

    I have switched my code to: String* sDate = dt.ToString( "yyyyMMdd" );

    Thanks!