Convert it to timestamp and then compare or if the date's in a mysql database
let mysql handle the comparison for you.
James
-Original Message-
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 8:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] date expressions
Robert,
I believe you are extracting this info from a mysql database. let mysql do
it for you as I explained in my examples yesterday.
If you need more infor from me, just ask/
-Original Message-
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 7:25 AM
To:
Don't need to convert to timestamp. Mysql will handle dates directly
without this unnecessary conversion.
-Original Message-
From: James E. Hicks III [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 7:31 AM
To: ROBERT MCPEAK; [EMAIL PROTECTED]
Subject: RE: [PHP] date
On Tuesday, April 2, 2002, at 08:25 AM, ROBERT MCPEAK wrote:
How do I compare a date (2002-05-01) against a date plus 5 days? I need
help figuring out how to do math operations on dates, etc. Could
somebody fill this newbie in?
There was a recent tutorial on DevShed introducing date
4 matches
Mail list logo