Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Math
Message
From
09/03/2004 10:49:39
 
 
To
09/03/2004 10:22:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00884427
Message ID:
00884434
Views:
38
Incidentally, William, lust in case you're using these values in your code, there are 365 days in a normal year and 366 in a leap ( not 364 - 365 as you state)

Terry

>Is there a simple way to manage leap year when doing calculations based on dates? The program I am working on processes records on an annual basis. Sometimes the records are terminated before the end of a full year and sometimes they are increased or decreased before a full year. Because of leap year some years have 364 days and others have 365. Does FoxPro have a built in way to deal with this, or is there an easy way to program for this anomaly?
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform