I need this programmed...
View Single Post
11-16-2012, 02:56 AM
Supreme Master coder!
Join Date: Feb 2009
Thanked 4,308 Times in 4,275 Posts
This isn't close to right:
DayOfYear = days - (year*365)
That ignores any leap years that have already occurred!
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
View Public Profile
Find More Posts by Old Pedant