Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Date Function needed
Hi,
I'm looking for a function to add or subtract days to a given date (usually sysdate), and have the new date returned:
add 1000 days to sysdate is: ???? <in date format> add -545 days to sysdate is: ???? <in date format>
in Transact SQL there is a date_add function, which allows to add integer values to each specified datepart, Oracle unfortunately hasn't.
the add_months function doesn't fullfil the requirements
Every help appreciated !
Thx
Klaus Kloeser
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum Received on Tue Jun 30 1998 - 05:50:21 CDT
![]() |
![]() |