GMT Time

From: Date: Fri, 19 Apr 2002 17:23:05 +0000
Subject: GMT Time
Groups: php.general 
Request: Send a blank email to php-general+get-93736@lists.php.net to get a copy of this message
Ok, I give up. I want to compare a timestamp(14) field in a MySQL table with the current time. Currently I use the following pseudo-sql: select field from table where table.time < date("YmdHis", time()) only, the table timestamp is GMT time and the time function is returning local time. How do I convert time() to GMT time? Thanks!

« previous php.general (#93736) next »