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!