🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: change system date format

#3016
From: Don Locke
Date: Sun, 10 Sep 2006 21:53
6 lines
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
Technical Details
Message-ID: <45048947$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <450484bb$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,191b8fabb7ac69c2
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 10 Sep 2006 15:53:15 -0600
From: Don Locke <dgnospamlocke@comcast.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax;nscd1)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: change system date format
References: <450484bb$1@newsgroups.borland.com>
In-Reply-To: <450484bb$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 71.229.228.194
Message-ID: <45048947$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1157925191 71.229.228.194 (10 Sep 2006 14:53:11 -0700)
Lines: 6
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail