Results 1 to 14 of 14
Thread: Php Puzzle - forthcoming dates
Feb 20, 2012, 04:43 #1
- Join Date
- May 2005
- 0 Post(s)
- 0 Thread(s)
Php Puzzle - forthcoming dates
Currently I need to login into my website every month and update the date of the next event - the third saturday of every month.
There must be a way for php to help me do this less often.
I thought the smplest way would be for me to create an array of dates over the next 12 months: ie
(17th March, 21st April, 19th May... and so on)
$dates = array('17/03/2012', '21/04/2012', '19/05/2012');
//SET CURRENT DATE
$today = date("d.m.y");
But I'm not sure how I would do that?
Any help appreciated.