How about date("Y-m-d",strtotime("next Saturday"));
James Hicks On Tuesday 24 June 2003 08:01 pm, poetbox wrote: > hi,php-general£¬ > > We have a meeting at every Saturday,I'd like to post the news and > write the date of this Saturday every week,how can I get the date of > Saturday. For example,today is Monday, and today is 2003-23-06,I'd like > to get the Saturday date "2003-28-06" ;If today is Friday on > "2003-16-08",I'd like to get the date of "2003-17-08",the date is a var got > by a special function,How to WRITE THE FUNCTION? Any thoughts or > suggestions would be greatly appreciated!Thanks in advance. > > > ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡poetbox > [EMAIL PROTECTED] > ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2003-06-25 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php