Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 browsing the Monastery: (9)
As of 2014-12-18 07:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (44 votes), past polls