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

Re: Gettting the last Friday of every month using Time::Piece

by Jim (Curate)
on Jun 30, 2014 at 18:17 UTC ( [id://1091760]=note: print w/replies, xml ) Need Help??


in reply to Gettting the last Friday of every month using Time::Piece

From the Introduction to the Wikipedia article titled Determination of the day of the week:

The basic approach of nearly all of the methods to calculate the day of the week begins by starting from an ‘anchor date’: a known pair (such as January 1, 1800 as a Wednesday), determining the number of days between the known day and the day that you are trying to determine, and using arithmetic modulo 7 to find a new numerical day of the week.
  • Comment on Re: Gettting the last Friday of every month using Time::Piece

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-26 03:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found