Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by Jim (Curate)
on Jun 30, 2014 at 18:17 UTC ( #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
Node Status?
node history
Node Type: note [id://1091760]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2020-09-24 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I don’t succeed, I …










    Results (132 votes). Check out past polls.

    Notices?