Page 1 of 1

Subtratc few days from a date

Posted: Wed Nov 05, 2008 2:42 am
by swerajan
Hi all

I need to subtract few days from a given date. How can i do this? Pls guide me through the steps.

Posted: Wed Nov 05, 2008 2:55 am
by ArndW
Nothing easier than that - use the "DateFromDaysSince" function as described on page 594 of the Parallel Job Developer Guide

Posted: Thu Nov 13, 2008 7:27 am
by srinivas.g
first convert the given date to julian day and subtract the days and convert to date format

Posted: Thu Nov 13, 2008 8:56 am
by chulett
Or just use the DateFromDaysSince function with a -2 for the number of days.