|
-
June 22nd, 1999, 04:47 PM
#1
Time/date parsing
Has anyone had to parse a string into a CTime? COleDateTime has a string-parsing function, but I'd rather not involve any OLE functions since my program doesn't need to (the function calls a Var... function).
It doesn't look easy because I want to parse dates/times according to the user's locale, rather than the American format (I am English so I'm pedantic about these things...)
Does anyone have any ready-made code they'd like to share? Or is there a way of extracting the date/time format from the system, in a form that can be used by a parsing function.
Any help appreciated.
Tim Robinson: [email protected]
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
|