Stuart McLachlan
stuart at lexacorp.com.pg
Sun May 2 16:23:35 CDT 2004
On 2 May 2004 at 11:38, Rocky Smolin - Beach Access S wrote: > Dear list: > > Is there an easy way to determine if Windows is set to that 'other' date format (dd/mm/yy)? > That's only one of a large number of possible alternatives. Why do you want to know. Depending on that, there are a number of tricks you can use. One simple way would be to compare Datevalue("1/6/04") to Datevalue("6 Jan 04") and Datevalue("1 Jun 04") and see which matches. A more complicated, but also more versatile way is to use a call to the GetDateFormat() API and see exactly what regional format is in use. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support.