Difference between two dates in Postgresql


/ Published in: SQL
Save to your folder(s)

Getting the difference between two dates in Postgresql. The difference can be in days, months or years.

For difference in days, months or years pass day, month or year as the first argument

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.