Anyone know how I can tell how many days are in each month? A formula would be really nice.
server_crash
64
Postaholic
Recommended Answers
Jump to PostFor non-leap years, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31. For leap years, add one to February using the formula:
((year MOD 4 = 0 AND year MOD 100 <> 0) OR year MOD 400 = 0)
Jump to Post>Now I just need to find some cool things to do with dates!
How about a program that can unravel the mess? :D
All 8 Replies
Narue
5,707
Bad Cop
Team Colleague
server_crash
64
Postaholic
Narue
5,707
Bad Cop
Team Colleague
server_crash
64
Postaholic
Narue
5,707
Bad Cop
Team Colleague
server_crash
64
Postaholic
Narue
5,707
Bad Cop
Team Colleague
server_crash
64
Postaholic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.