Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages
Started by ki
Sun, 10 Sep 2006 21:29
change system date format
Author: ki
Date: Sun, 10 Sep 2006 21:29
Date: Sun, 10 Sep 2006 21:29
8 lines
1075 bytes
1075 bytes
Hello world How can we change system date format through C++ Builder. In regional settings i have m/d/yyyy. If i run my program i have to have format d/m/yyyy. Any suggestions greatly appreciated. SA
Re: change system date format
Author: Don Locke
Date: Sun, 10 Sep 2006 21:53
Date: Sun, 10 Sep 2006 21:53
6 lines
1138 bytes
1138 bytes
I use this in one of my apps: SetLocaleInfo(LOCALE_SYSTEM_DEFAULT, LOCALE_SSHORTDATE, "MM/dd/yyyy"); ShortDateFormat = "MM/dd/yyyy"; HTH, Don
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads