Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Date Handling in Perl

by Utilitarian (Vicar)
on Jul 11, 2012 at 14:42 UTC ( #981133=note: print w/ replies, xml ) Need Help??


in reply to Date Handling in Perl

perldoc -f localtime - For all your basic time manipulation needs.
perldoc Date::Manip - For more complex manipulations with end of month and edge cases solved for you.

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."


Comment on Re: Date Handling in Perl
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (13)
As of 2015-07-07 20:16 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 (93 votes), past polls