Brian_Sutherland
asked on
What is the equivalent date function in postgreSQL for add_months or DateAdd
I am looking for the syntax for the date function that works like dateadd in sql server that I can use in PostgreSQL.
ASKER
Thanks, what if I had a column called term that held the number of months I want to add?
Would it be:
<date filed> + interval '<term> months'
Would it be:
<date filed> + interval '<term> months'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Read http://www.postgresql.org/docs/8.2/interactive/functions-datetime.html for more info.
Open in new window