Skip to content

Instantly share code, notes, and snippets.

@elenst
Created June 28, 2017 13:04
Show Gist options
  • Save elenst/ec361a609c000ef866a0a65c47186006 to your computer and use it in GitHub Desktop.
Save elenst/ec361a609c000ef866a0a65c47186006 to your computer and use it in GitHub Desktop.
MariaDB [test]> SELECT DATE_FORMAT("2017-06-15", '%s');
+---------------------------------+
| DATE_FORMAT("2017-06-15", '%s') |
+---------------------------------+
| 00 |
+---------------------------------+
1 row in set (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment