Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Time / Date / Locale formatting

5 views
Skip to first unread message

jShAdEz

unread,
Jul 19, 2001, 9:27:14 PM7/19/01
to
Hi,
I was wondering if anyone has used InstallScript and know of any
function which would determine the system's locale, i.e. if the month came
first or the day came first etc ... when getting a timestamp from other
programs such as the DOS prompt. If it does, then I don't have to consult
the Win32 API (GetLocale ... which I have no idea how to use). Thanks in
advance.

Eric


Stefan Krueger

unread,
Jul 21, 2001, 1:43:57 AM7/21/01
to
There's a sample script for "Setting Locale Info" at
http://www.installsite.org/isp_os.htm . This may help you to Get the
information, too.

--
Stefan Krueger - Independent Setup Consultant

InstallSite - code samples, tips, tools, bug lists, and more
http://www.installsite.org http://www.installsite.de (GERMAN)
Support and consulting http://www.installsite.org/krueger

Stefan Krueger and the InstallSite web site are not affiliated
with InstallShield Software Corporation.


"jShAdEz" <Eric...@ir.com> schrieb im Newsbeitrag
news:3b57...@12.41.20.38...

jShAdEz

unread,
Jul 23, 2001, 10:00:54 PM7/23/01
to
I've figured it out, but I had to use the WIN32 API

Kernel32.dll had to be used ....

GetlocaleInfo( 1024, LOCAL_IDATE, svTmp, i);

where 1024 is some constant, look up GetLocaleInfor in Win32API help.
Local_IDATE is 0x021.

"jShAdEz" <Eric...@ir.com> wrote in message news:3b57...@12.41.20.38...

0 new messages