|
-
October 1st, 2002, 10:16 AM
#1
how do I get "9/30/2002 12:00:01 PM"
How do I get today's date to be: "9/30/2002 12:00:01 PM"?
// added 09.30.2002
CString sDateTimeToday;
sDateTimeToday = Today.Format(_T("%A, %B %d, %Y"));
sDateTimeToday = Today.Format(VAR_DATEVALUEONLY);
COleDateTime sDateTimeTodayCOle = COleDateTime::GetCurrentTime();
CString s = sDateTimeTodayCOle.Format(_T("%Y-%M-%D 00:00:00.000"));
Wango
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
|