Articles tagged with "First Friday"

First Friday script updated and simplified

NOTE: The latest version of this script can always be found here:

With this update I have drastically reduced and simpified the code to produce the same results. I did some rigorous testing of my own to make sure this script will calculate the correct date, but that doesn’t mean it’s bullet-proof. If you find a bug, please email me so I can fix it.


Somewhere along the lines of moving ...

Continue Reading

Calculate the first Friday of next month with PHP

UPDATE: This script has been updated, see:

While developing, I ran into a slight dilemma. The PHX2600 meetings occur once a month on the first Friday of every month, and we wanted to display that on the site. However, it was becoming a tedious chore to change the date once a month manually. So, being the automation addict I am, I thought, why not write a script. So one night I hammered out ...

Continue Reading