Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 romping around the Monastery: (5)
As of 2015-07-02 01:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls