Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Leap years
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00115008
Message ID:
00115014
Views:
18
>Hello All,
>A simple question but one I have gone completelty blank on.
>
>How do I define a leap year?? I know that year % 4 returning a 0 is not enough. What's the rest??
>
>Thanks

also if last 2 digits are 00, take first 2 % 4 = 0 as leap year, otherwise not.

e.g. 1900 not leap year, 2000 is.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform