forlano Messages: 1213 Registered: March 2006 Location: Italy
Senior Contributor
mrjt wrote on Tue, 24 April 2007 11:37
See Core/TimeDate.cpp. It looks like these should change the format for every date/string conversion:
void SetDateFormat(const char *fmt);
Sets the format for date to string conversions (default: "%2:02d/%3:02d/%1:4d") and
void SetDateScan(const char *scan);
Sets the format expected when doing string-date conversions (default: "mdy").
James
Thanks James,
Unfortunately those methods work very well with the date coming from GetSysTime(), but seems have no effect in the DateTimeCtrl in that it is diplayed the same format mm/dd/yyyy irrispective of their setting.
Perhaps I need to modify the control but before to try to do it I would like to be sure that there is no other methods available. This Ctrl is rather young so everything could not be present now.