Page 1 of 1

Get Week Dates

Posted: Mon Oct 17, 2005 12:38 pm
by k5clm
Hello. I am new to php and therefore am still trying to figure it out. I have been working on this, im sure, simple thing all morning. I am trying to get the dates for an entire week and set each to a different variable or put in an array. Im sure there is an easy way to do this, but it is driving me crazy. Can anyone help me?

Thanks
Curtis

Posted: Mon Oct 17, 2005 1:32 pm
by timvw
Have a look at the date and time functions in the php manual

http://www.php.net/date. In your case i guess you might want to look at mktime...