Answers for "mysql dates"

SQL
0

mysql date format unix timestamp

SELECT
  FROM_UNIXTIME(timestamp) 
FROM 
  your_table;
Posted by: Guest on September-22-2020
5

mysql datetime

-- MySQL DATE Format: 'YYYY-MM-DD'
-- MySQL DATETIME Format: 'YYYY-MM-DD hh:mm:ss'
Posted by: Guest on June-07-2021
0

disallowed function mysql to_date()

mysql> SELECT STR_TO_DATE('18,05,2009','%d,%m,%Y');
+--------------------------------------+
| STR_TO_DATE('18,05,2009','%d,%m,%Y') |
+--------------------------------------+
| 2009-05-18                           | 
+--------------------------------------+
1 row in set (0.00 sec)
Posted by: Guest on October-20-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language