Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by ikegami (Pope)
on Jun 20, 2006 at 15:40 UTC ( #556433=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my ($y, $m) = ($year-1900, $month-1);
    
      # Day before the first of next month:
      my $last = timelocal_nocheck(0, 0, 0, 1-1, $m+1, $y);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2014-08-01 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (33 votes), past polls