Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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]


Comment on Re: day of year

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 pondering the Monastery: (14)
As of 2015-07-30 21:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls