|
-
Jun 27th, 2002, 02:02 PM
#1
C++ Dates...... HELP!!!!
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|