Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

cast string to datetime mysql

SELECT STR_TO_DATE('2017-03-13T14:39:01.123','%Y-%m-%dT%H:%i:%s.%f');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cast #string #datetime #mysql
ADD COMMENT
Topic
Name
5+3 =