Orton, Yves wrote:

I would also like to understand the difference between the two values, here is what is printed:

Expires 2005-07-04 10:25:12 Tst 2005-07-04T12:25:12

What is the significance of the T in between the date/time field?

IIRC The T is specified by the ISO standard that defines the time format.

Anyway, IMO this is a crappy way to do what you want. Convert the MYSQL to a
unix time value as part of the query and  then compare that against time().

yves

OK, Can you please tell me how to convert the MySQL datetime field into a Unix time value? Would I still use the DateTime->compare statement, or is there a better test?

--
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems Consultant
-------------------------------------------------------------------
ABS Computer Technology, Inc. - www.ABS-CompTech.com
SPAM Zapper - No-JunkMail.com - Spam-Zapper.com - SPAM Stops Here.
President of the Pittsburgh InfraGard Alliance

Reply via email to