Re: Date changing 2028....2029......1930???????
- From: "Rick Brandt" <rickbrandt2@xxxxxxxxxxx>
- Date: Mon, 19 Mar 2007 12:59:37 -0500
evilcowstare via AccessMonster.com wrote:
Hello!
I have a slight problem, in my form i have a date section which is
automated as 00/00/00. I use these for part of a report as a from
this date to this date, if you put 010125 it will automatically
change it to 01/01/2025. The thing I have found is that it is fine
until you get to 010130 and then it saves it as 01/01/1930 :-/
any ideas?
Thank You
Jay
That is the curse of using two digit years (remember Y2K?). In your Windows
Control Panel Regional settings there is a setting that determines what 2
digit value represents the cross-over value for assuming "19" as the first
two digits versus "20". You can teak that if your app will never be used on
any other PC. Otherwise the *correct* thing to do is to use a four digit
year.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
.
- References:
- Date changing 2028....2029......1930???????
- From: evilcowstare via AccessMonster.com
- Date changing 2028....2029......1930???????
- Prev by Date: Re: Date changing 2028....2029......1930???????
- Next by Date: Re: Please help!
- Previous by thread: Re: Date changing 2028....2029......1930???????
- Next by thread: RE: Date changing 2028....2029......1930???????
- Index(es):