Article View: borland.public.cppbuilder.nativeapi
Article #4060Re: About date format in XP command line window
From: Remy Lebeau (TeamB)
Date: Fri, 24 Mar 2006 19:57
Date: Fri, 24 Mar 2006 19:57
17 lines
1501 bytes
1501 bytes
"Vladimir Grigoriev" <vlad.moscow@mail.ru> wrote in message news:44240adb@newsgroups.borland.com... > My question is what is a (new) DOS int 21h service that can > allow me to determine what date format currently is used? Since a DOS box is a Win32 console, not a true DOS session, you can use Win32 API functions in console applications. Use GetLocaleInfo() to retreive locale-specific formats. If you are using the VCL, then it already retreives many locale formats at startup and stores them into global variables, such as the "ShortDateFormat" variable. Gambit
Technical Details
Message-ID:
<44244f35$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44240adb@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a9ae248c5f9a515a X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <44240adb@newsgroups.borland.com> Subject: Re: About date format in XP command line window Date: Fri, 24 Mar 2006 11:57:35 -0800 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <44244f35$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1143230261 68.69.17.41 (24 Mar 2006 11:57:41 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail