Variable problem

  • Thread starter Thread starter David Mc
  • Start date Start date
D

David Mc

I have a date variable called StartDate, when i perform a
calculation such as add 20 days i always get the year
returned as 1900. However the second time around i get the
proper year 2003. Why?

David
 
Hard to say without seeing your code.

I would GUESS that StartDate is Zero (Dec 30, 1899) the first time you call it
and that adding 20 days to that gets you a day in January of 1900. Why it works
the second time, <Shrug!>? My telepathy and other ESP skills don't seem to be
working. Please post your code or at least the relevant bits.
 
Back
Top