MySQL Forums
Forum List  »  PHP

Re: Echo date in dd-mm--yy format
Posted by: Peter Brawley
Date: August 18, 2022 10:32PM

Simplest, modify the query to retrieve the `row_added` column value as ...

select ... date_format(row_added, "%d-%m-%Y" ) as row_added, ...;

Edited 1 time(s). Last edit at 08/19/2022 02:10AM by Peter Brawley.

Options: ReplyQuote

Written By
Re: Echo date in dd-mm--yy format
August 18, 2022 10:32PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.