>Ah, so limiting! I mean what if you were wanting to track the history of some caveman born in 10,000,000 BC . . . I mean, could it really handle that? <g>
Fox could have handled that, but can't, because the routine to display (and generally, convert to string) has artificial limits - can't display dates before year 1... well, to an extent. The bug appears to appear on the leap day of year zero:
?{^0001-01-01}-306
?{^0001-01-01}-307
?{^0001-01-01}-308
VFP also has some sort of Y10K bug:
?{^9999-12-31}+1
So while internally it can store dates for about two billion days before and after the start of current calendar, it just won't display anything for not between(date,
{^0000-03-01}, {^9999-12-31}).
So, tough stool... I won't be able to write my time travel agency software in VFP. I could have a date class, with two integers, and have my own routines to calculate leap years etc etc. Let me know if astronomers do (will have been doing?) more changes to the calendar in the next million years or so ;).