Rocky Smolin - Beach Access Software
bchacc at san.rr.com
Mon May 3 12:18:37 CDT 2004
Stuart: Very low-tech. Very effective. No APIs (woo-hoo!) Thank you. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Stuart McLachlan" <stuart at lexacorp.com.pg> To: "Access Developers discussion and problem solving" <accessd at databaseadvisors.com> Sent: Sunday, May 02, 2004 2:23 PM Subject: Re: [AccessD] Determining Regional Date Setting > 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. > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com