![]() |
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 - 17:35:25 CEST
Martien van Wanrooij a écrit :
> So I decided to create two fields firstdisplaytime and lastdisplaytime and I
I'm afraid I don't understand all what you want to do. Could you give
Otherwise, you can use strtotime to calculate the monday some weeks
<?php
echo 'Today: '.date('Y-m-d').'<br />';
After that, you just have to use a correct query in mysql to display the
Hope it can be useful.
-- ManuReceived on Tue Oct 18 02:06:34 2005 |