Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to find first day of the first week on the month?

by golux (Pilgrim)
on Sep 28, 2013 at 15:42 UTC ( #1056146=note: print w/ replies, xml ) Need Help??


in reply to How to find first day of the first week on the month?

Hi devbond,

Take a look at Date::Calc. If you're interested in the day of the week a given date falls on, you probably want the Day_of_Week function; ie.:

$dow = Day_of_Week($year,$month,$day);
say  substr+lc crypt(qw $i3 SI$),4,5


Comment on Re: How to find first day of the first week on the month?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2014-10-21 15:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (105 votes), past polls