Created
July 18, 2019 21:32
-
-
Save parzibyte/400dc733e381702955028054b34f824c to your computer and use it in GitHub Desktop.
Diferencia de años en MySQL https://parzibyte.me/blog/2018/05/07/diferencia-entre-fechas-mysql/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT TIMESTAMPDIFF(YEAR, '1997-06-21', '2018-05-07') AS años_transcurridos; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment