Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

date conversion in mysql column

MySQL DATE_FORMAT() formats a date as specified in the argument. A list of format specifiers given bellow may be used to format a date. The ‘%’ is required before the format specifier characters.

Syntax:

DATE_FORMAT(date,format)
 
PREVIOUS NEXT
Tagged: #date #conversion #mysql #column
ADD COMMENT
Topic
Name
1+8 =