Saturday, October 5, 2019

SQL date format in MYSQL PHP

SELECT date_format(byr_tarikh,'%d/%m/%y') AS formatDate from TBL_NAME

Result
----------------------

20/03/1974
01/03/1999

No comments:

Post a Comment