Answers for "postgresql datediff between two dates"

SQL
-1

postgresql get difference between two dates

select age('2010-04-01', '2012-03-05'),
       date_part('year',age('2010-04-01', '2012-03-05')),
       date_part('month',age('2010-04-01', '2012-03-05')),
       date_part('day',age('2010-04-01', '2012-03-05'));
Posted by: Guest on April-08-2020

Code answers related to "postgresql datediff between two dates"

Code answers related to "SQL"

Browse Popular Code Answers by Language