Forum Moderators: coopster

Message Too Old, No Replies

Help with Timestamp

deciphering

         

dauction

12:28 am on Dec 11, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So I have a XML USA Map driven by a php file.
Depending on input from a form the map changes colors . The main part of the form input is time..

Should display for the last 30 days..not working right and I'm a php newbie..

Is this part of the time call correct for querying 30 days?

$time = 30*24*60*60;
$time = time() - $time;

appreciate knowing if I am even on the right track..

thanks !

lokeshshettyk

7:04 am on Dec 12, 2008 (gmt 0)

10+ Year Member



Worth having a look at this - [in.php.net...]