Date manipulation - Mailing list pgsql-sql

From Mark
Subject Date manipulation
Date
Msg-id 200105311714.f4VHEbW24511@mail.ldssingles.com
Whole thread Raw
Responses Re: Date manipulation
Re: Date manipulation
List pgsql-sql
How does one perform date manipulation within SQL?  For example, SQL
Server has a dateadd() function that takes a date part, scalar, and the
date to manipulate.

I have a query that determines the number of days that are between now
and a particular date that looks something like this:

select datediff (dd, now (), column) as difference_in_days from ...

Anything available short of coding my own function?

Thanks,

Mark



pgsql-sql by date:

Previous
From: Brian Powell
Date:
Subject: Re: 7.1.1 Lock Problems on Views
Next
From: Peter Eisentraut
Date:
Subject: Re: Date manipulation