June 22nd, 1999, 04:47 PM
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: asantana@acutrak.demon.co.uk
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: asantana@acutrak.demon.co.uk