2007/6/14, A. Kretschmer <[EMAIL PROTECTED]>:
am  Thu, dem 14.06.2007, um 11:56:15 +0530 mailte Ashish Karalkar folgendes:
> Hello all,
>
> Is there any function to find  differences in days between two dates?

Yes, age().



there is difference

date - date --> integer
age(date::timestamp, date::timestamp) --> interval

regards

Pavel

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
      choose an index scan if your joining column's datatypes do not
      match

Reply via email to