>hi all,
>
>when i enter a date for example - 25 May 63, the system displays 25 may 2063. why ?? i have the following code set in my form.
>
>Set Century On
>Set Century to 19 RollOver 80
>
>pls assist me.
>
>sincere thanks in advance
All dates with year number > 80 are assumed to be from 20th century (19xx) with your setting.
From VFP help:
For example, if the current year is 1998 and nYear is the default (48), any date entered without a century portion and a year of 48 or greater is considered to be in the current century (the 20th century). Any date entered without a century portion but with a year before 48 is considered to be in the next century (the 21st century).
Replace 48 with 80 in the text above to get a clue
HTH
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!