DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
CALCULATING MONTHS BETWEEN TWO DATES IN POSTGRESQL
EXTRACT(year FROM age(end_date,start_date))*12 + EXTRACT(month FROM age(end_date,start_date))
Source by www.lexykassan.com #
PREVIOUS
NEXT
Tagged:
#CALCULATING
#MONTHS
#BETWEEN
#TWO
#DATES
#IN
#POSTGRESQL
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit