Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Last day of the month. Any shorter

by zude (Scribe)
on May 19, 2004 at 21:45 UTC ( [id://354775]=note: print w/replies, xml ) Need Help??


in reply to Last day of the month. Any shorter

my ($y,$m,$d) = unpack "A4A2A2", $ARGV[0]; # ven'tatsu! $d == 30+($m&1^$m>7)-($m==2)*(2-!($y%4||(!($y%100)&&$y%400))) or print "not month end day\n";

-------
~%{${@_[0]}}->{0}&&+++ NO CARRIER

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-20 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found