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

Re: How to calculate if today is before May 1

by shmem (Chancellor)
on Dec 29, 2019 at 17:05 UTC ( [id://11110730]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    shmem [qwurx] ~> perl -MDate::Parse -E 'say+(str2time("$_-05-01") >= t
    +ime ? "before" : "after"). " $_-05-01" for qw(2019 2020)'
    after 2019-05-01
    before 2020-05-01
    shmem [qwurx] ~>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-25 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found