Re: Week numbers
| From: | 1LT John W. Holmes | Date: | Mon, 28 Oct 2002 16:09:01 +0000 |
| Subject: | Re: Week numbers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121736@lists.php.net to get a copy of this message | ||
date('W',strtotime('29.10.2002')); ??
Untested... I don't know if strtotime will recognize that format.
---John Holmes...
----- Original Message -----
From: "Davíð Örn Jóhannsson" <david@atom.is>
To: <php-general@lists.php.net>
Sent: Monday, October 28, 2002 10:57 AM
Subject: [PHP] Week numbers
Lets say I have a date: 29.10.2002 and I want to be able to find out
what week number it is, I know
how to find out what the current week number is: date("W") to day it
would result 44, but i need to be
able to do this dynamically ofcourse, any Ideas?
thanks, David