Show customize date format

Some times we need to show date at customize format. As usual we can’t use format function to format the date at SQL. For that we need to use date_format function to show it.Example is bellow.

select date_format(column_name, ‘%d-%m-%Y’) from table_name;

Posted in Command, MySql. ট্যাগ সমুহঃ , , , . Leave a Comment »