RE: [PHP-DB] Is there a PHP equivalent of DATE_FORMAT ?

2001-02-21 Thread php3
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

Re: [PHP-DB] Is there a PHP equivalent of DATE_FORMAT ?

2001-02-20 Thread dmalcolm
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

RE: [PHP-DB] Is there a PHP equivalent of DATE_FORMAT ?

2001-02-20 Thread Timothy Wright
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

[PHP-DB] Is there a PHP equivalent of DATE_FORMAT ?

2001-02-19 Thread Timothy Wright
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