Created
July 18, 2019 21:34
-
-
Save parzibyte/82bcd7a91aa2a6a1e36180f637a52387 to your computer and use it in GitHub Desktop.
Diferencia de fechas en días con 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(DAY, '1997-06-21', '2018-05-07') AS dias_transcurridos; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment