![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Looking for a date function : "First Monday after a certain date"
From: Emmanuel Ayrault <emmanuel.ayrault@nospamvoila.fr>
Date: Sun Jul 31 2005 - 00:47:08 CEST
Martien van Wanrooij a écrit :
> I would like to retrieve, let us say, the First Monday after a certain date,
Maybe, you should try this (I'm not sure)
<?
echo 'First Monday after 28 July 2005 is ';
?>
It seems to work except if you are on Monday (in fact, it depends on
Take a look at the strtotime function: http://www.php.net/function.strtotime
-- ManuReceived on Tue Oct 18 02:06:30 2005 |