|
-
May 28th, 1999, 06:40 AM
#1
Formatting date
I want to display date in local system format.
For example : dd/mm/yyyy for france and mm/dd/yyyy for us.
I try the following code but it didn't work :
CTime time = CTime::GetCurrentTime();
CString strDate = time.Format(_T("%x"));
In fact this code ALWAYS results in : mm/dd/yyyy
Please help
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
|