Page 1 of 1

fecthing the current week dates

Posted: Mon Apr 21, 2008 10:31 pm
by ramchandev
Hai all

i am a beginner for PHP programming and i am striving hard to solve this task
i need to fetch the current dates of the current week(from Monday to sunday)
i am trying with the date function still i could not resolve it.. can some one Help me in this
i will be very thankfull to you

-Ram

Re: fecthing the current week dates

Posted: Tue Apr 22, 2008 12:13 am
by Zoxive
http://www.php.net/date has all the answers.

Code: Select all

echo date('l');
// Tuesday