Addressed to: "Timothy Wright" [EMAIL PROTECTED]
[EMAIL PROTECTED]
I need to convert the input to a valid timestamp first.
Any ideas?? Am I missing something really obvious...it's late and my brain
is tired..
Read the MySQL manual, section 7.4.11 Date and Time Functions
Timothy Wright wrote:
Just wondering...
DATE_FORMAT($datevariable, \"%Y%c%e\") works great in a query but I only
need to list the date once on the page (as opposed to in each row of the
query result) and I don't want to use a second query to MySQL. The date is
passed to the page as a
nt: Tuesday, February 20, 2001 4:56 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Is there a PHP equivalent of DATE_FORMAT ?
Timothy Wright wrote:
Just wondering...
DATE_FORMAT($datevariable, \"%Y%c%e\") works great in a query but I only
need to list the date once on the pag
Just wondering...
DATE_FORMAT($datevariable, \"%Y%c%e\") works great in a query but I only
need to list the date once on the page (as opposed to in each row of the
query result) and I don't want to use a second query to MySQL. The date is
passed to the page as a variable in md (month and