By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,426 Members | 2,928 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,426 IT Pros & Developers. It's quick & easy.

international date settings in the registry

P: 2
Hi,

I have a problem that when a new user is set up on my network, the operating system (xp pro) sets the date to US format (mm/dd/yyyy). If the sys admin or the user does not change it, the date stored by MS Access can be reversed. How can I read the registry and find out what the date setting is?
Nov 23 '06 #1
Share this Question
Share on Google+
2 Replies


Expert 5K+
P: 8,434
Hi,

I have a problem that when a new user is set up on my network, the operating system (xp pro) sets the date to US format (mm/dd/yyyy). If the sys admin or the user does not change it, the date stored by MS Access can be reversed. How can I read the registry and find out what the date setting is?
This is probably not the "proper" way, but what about taking a known and non-ambiguous entry (such as "THU 23 NOV 2006"), placing it into a date variable, then using Format(field,"Short Date") or similar to pull it out. Then you can examine the result to see what you got.
Nov 23 '06 #2

NeoPa
Expert Mod 15k+
P: 31,494
I'm Win 2K Server and I find my setting at :
Key=HKEY_CURRENT_USER\Control Panel\International
Value=sShortDate.

HTH.
Nov 23 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.