echoing date of first and last day of current week.

From: Date: Mon, 18 Nov 2002 05:57:23 +0000
Subject: echoing date of first and last day of current week.
Groups: php.general 
Request: Send a blank email to php-general+get-124876@lists.php.net to get a copy of this message
I want to get the unix timestamps of the first and last days of this week... Currently I have this: echo 'Words for the week from '.date('jS F Y',strtotime("last sunday")).' to '.date('jS F Y',strtotime ("next saturday")).'.<br>'; on saturday this showed the 10th to 23rd... Is there a good way to do this mathematically (for speed) or can someone think of a better string to parse? -- JJ Harrison lizner2002@yahoo.com.au

« previous php.general (#124876) next »