Created
December 18, 2014 13:59
-
-
Save elderdosantos/d84fa7eff15f29873cd7 to your computer and use it in GitHub Desktop.
Postgres interval maior que 24 horas
This file contains hidden or 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
Quando um interval passar de 24 horas ou qualquer outra diferenca utilizar a funcao justify_interval() | |
Exemplo de interval: 24:30:00 | |
usando a funcao justify_interval() | |
Resultado: 1 day 00:30:00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment