select STR_TO_DATE(date_seance1,'DD-MM-YYYY')
ORDER BY STR_TO_DATE(datestring, '%d/%m/%Y')
select STR_TO_DATE(date_seance1,'DD-MM-YYYY')
ORDER BY STR_TO_DATE(datestring, '%d/%m/%Y')
mysql date to string
-- Convert the current date to YYYYMM format
SELECT DATE_FORMAT(NOW(), '%Y%m');
# 201302
str_to_date sql server
SELECT STR_TO_DATE('17-09-2010','%d-%m-%Y');
DATE_FORMAT(STR_TO_DATE
mysql> Select STR_TO_DATE('22.10.2017',GET_FORMAT(DATE,'EUR'))AS 'EUROPEAN FORMAT';
+-----------------+
| EUROPEAN FORMAT |
+-----------------+
| 2017-10-22 |
+-----------------+
1 row in set (0.00 sec)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us