Posted by Geoff Berrow on 05/10/05 13:44
I noticed that Message-ID:
<Mj_fe.8471$31.6780@news-server.bigpond.net.au> from Scotty contained
the following:
>I don't know any php but I have been looking around and I think this is
>possible. Can anyone point me to a site where I can learn how I could do
>this?
If your start date is 1st May 2005...
<?php
print floor((strtotime("now")-strtotime("1 May 2005"))/(60*60*24));
//outputs 9
?>
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
Navigation:
[Reply to this message]
|