|
My guess would be that it is buried deep in some dll somewhere within Windows. Let us know if you find it out. On Tue, 07 Dec 2004 21:07:33 +0100, Antonio Fernandez-Vicenti <afvaiv@xxxxxxxxxx> wrote: > I have been searching something that seems so obvious... and I think > I've seen somewhere before, but cannot find it!!! > I was searching also thru Internet, but there are many references to it, > but nobody tells where it is!: > > The question: > I guess names for the days of the week, names for the months, etc are > kept by Windows somewhere, maybe in the Registry, or in Win.ini, or some > place like that. Tried them all, but could not find them: > > Using Delphi: Delphi retrieves those values from some "global variables" > into special registers whose names are: > "ShortDayNames", "LongDayNames", ShortMonthNames", "LongMonthNames", > where you get arrays of values containing: > "Mon, Tue, Wed, ... "Monday, Tuesday, ... "Jan, Feb, Mar... > "January, February, ... > in the local language (spanish in my case) > > I know I can access these thru special GetLocale type of functions, and > also can edit date_type data using DateFormatingStrings of the type 'dd > mmmm yyyy' to get long month names, etc. > > But what I'm looking for is WHERE does Windows keep those literal > values? They are accessed also from Word or Excel, ... > > So, the question is, where does Windows (2000 in my case, if that > matters...) keep these "regional/language" named values for days and > months in their short/long format? > TIA > > -- > Antonio Fernandez-Vicenti > afvaiv@xxxxxxxxxx > > -- > This is the PC Technical Discussion for iSeries Users (PcTech) mailing list > To post a message email: PcTech@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/pctech > or email: PcTech-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/pctech. > -- Mike Wills Midrange Programmer/Lawson Administrator koldark@xxxxxxxxx http://www.koldark.net Want Gmail? Email koldark+gmail@xxxxxxxxx to get on my waiting list. <a href="http://www.spreadfirefox.com/?q=affiliates&id=2483&t=1">Get Firefox!</a>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.