Re: Timestamp problem
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Timestamp problem

From: <anderan@mail.ru>
Date: Tue Oct 04 2005 - 08:44:40 CEST

Try to use

$dummy = strtotime("-13 hour");
$csql = "update citc_weather
        set imagepath = '$p_image',
        text = '$p_text',
        lastupdated = FROM_UNIXTIME($dummy)
        where id = 1";
Received on Tue Oct 18 02:31:20 2005