brussell wrote:
I am trying to get the current date in the format of YearMonthDay (2005117) in C++.NET.
That format is ambiguous, isn't it? You get 2005117 for both 2005-01-17 and 2005-11-07.
EDIT: Oh, and I'm guessing that dt.Day is the day of the week.
EDIT2: No, I'm wrong... never mind.