🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12284

Re: TimeSeperator?

#12284
From: Bob Gonder
Date: Sun, 14 Dec 2003 19:34
22 lines
2017 bytes
George K. wrote:

>"Giovanni Benintende" <benint@gbsoft.it> wrote in message
>news:3fdc8cbe@newsgroups.borland.com...
>> The TimeSeparator global variable handles the time separator.
>> If you get a look to the help index and search for TimeSeparator, you'll
>see all the global variables to handle all the related
>> variables.
>> Giovanni
>>
>> "George" <george@nospam.org> ha scritto nel messaggio
>news:3fdc70b6@newsgroups.borland.com...
>> > Hi,
>> >
>> > DateSeperator return "/"
>> > how can I know the ":" of the time? (time seperator) ?

Look in help for "Locales". It tells you to use  GetLocaleInfo() using
an LCTYPE.  Look for LCTYPE and you get a page telling you that
LOCALE_STIME is the LCTYPE you want.  That page also tells you the
registry keys that the info is stored under. But you should be able to
use GetLocaleInfo() to retrieve the data.
Technical Details
Message-ID: <k5eptv4btunittb9indhpvt1p0dn84jv0r@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news-out.visi.com!petbe.visi.com!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3fdc70b6@newsgroups.borland.com> <3fdc8cbe@newsgroups.borland.com> <3fdca6f7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7bbef63279c652db
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-14 11:52:36 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: TimeSeperator?
Date: Sun, 14 Dec 2003 11:34:54 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <k5eptv4btunittb9indhpvt1p0dn84jv0r@4ax.com>
References: <3fdc70b6@newsgroups.borland.com> <3fdc8cbe@newsgroups.borland.com> <3fdca6f7@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.31.165.8
X-Trace: newsgroups.borland.com 1071430497 67.31.165.8 (14 Dec 2003 11:34:57 -0700)
Lines: 24
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news-out.visi.com!petbe.visi.com!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail