Variable problem

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
 
J

John Spencer (MVP)

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top