Get Week Dates

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
k5clm
Forum Newbie
Posts: 1
Joined: Mon Oct 17, 2005 12:33 pm

Get Week Dates

Post 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
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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...
Post Reply