Re: [PHP] GMT Time

2002-04-19 Thread Erik Price
On Friday, April 19, 2002, at 01:23 PM, Richard Fox wrote: > 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

Re: [PHP] GMT Time

2002-04-19 Thread Erik Price
On Friday, April 19, 2002, at 01:23 PM, Richard Fox wrote: > 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

[PHP] GMT Time

2002-04-19 Thread Richard Fox
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

[PHP] GMT Time and Setting Cookies in PHP

2001-06-30 Thread Gonyou, Austin
What's a good method for setting time in GMT? as in the expiration date for cookies? I saw two functions to do this with, but I haven't been able to get them to output anything properly. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] --