I'm new to C++, have not done in a long time... I want to assign a date in the format of MM/DD/YYYY to a string..

In VB, I'd do it like this: a$ = format$(now,"MM/DD/YYYY")

How would you do something like this in C++?

I can find localtime and then asctime conversions, but then I'd have to parse the strings to build a date. Surely there must be an easier way?