Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: day of year

by lemming (Priest)
on Nov 26, 2002 at 17:07 UTC ( #215876=note: print w/replies, xml ) Need Help??


in reply to day of year

date +%j on a Linux box gives you the day of year starting at 1, so 1..36[56]

localtime() gives you day of year starting at 0, so 0..36[45]

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://215876]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2016-10-01 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (574 votes). Check out past polls.