Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql DATE TIME WITH CAST

##Only MySQL
SELECT CAST("2017-08-29 14:39:01" AS DATETIME);
SELECT CAST(ColumnName AS DATETIME);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #DATE #TIME #WITH #CAST
ADD COMMENT
Topic
Name
9+5 =