Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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?
[Corion]: Hmm - the longer I work, the more such sentences I collect:
[Corion]: "If I wanted to work with people, I would have become a coroner."
[Corion]: "If I wanted to work with hot air, I would have become a baloonist"
[Corion]: "If I wanted to work with flaps, I would have become a mailman"
[Corion]: (I'm not sure if the last one works in English too ;) )
[Eily]: it doesn't work in French AFAIK
[Eily]: I like the first one though :)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2017-09-21 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (248 votes). Check out past polls.

    Notices?