Posted By

aristoworks on 04/03/11


month date number second week first third fourth

Versions (?)

Find The Number Of A Week In A Month For A Given Date

 / Published in: PHP


This simple function allows you to find a weeks position in the month based on a given date. For instance I needed to alert the user their date was the "Second Week Of January" during a given month. I may never use it again but it came in very handy for this particular project.

Report this snippet  

You need to login to post a comment.