Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Determining the dayname for the last day of any given month

by ambrus (Abbot)
on Jun 19, 2006 at 13:58 UTC ( #556255=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Date::Manip; 
    $input = "June 2006"; 
    ...
    $lastofmonth = DateCalc($thismonth, "+1 month -1 day");
    $dow_lastofmonth = UnixDate($lastofmonth, "%A\n"); 
    print $dow_lastofmonth;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://556255]
help
Chatterbox?
[Discipulus]: ah so the rule is: when the algorythm is unefficient use a speedy language? ;=)
[choroba]: :-)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2017-10-23 16:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (281 votes). Check out past polls.

    Notices?