Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Englishy Date Translations

by fglock (Vicar)
on Jul 15, 2002 at 19:55 UTC ( [id://181895]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Date::Tie;
    
    ...
    $date{weekday} = 5;  # monday is 1, friday is 5
    $date{week} += 1;    # advance 1 week
    print "2nd Friday in April is $date{month}-$date{day}\n";
    
  2. or download this
    3rd Sunday in March is 03-17
    2nd Friday in April is 04-12
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 16:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found