× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.