Page 1 of 1

yesterdays date

Posted: Tue Nov 20, 2007 3:56 pm
by dsdev_123
Hi

I am using currentdate-1 as parameter in the file i am producing. I am using DIGITS(DateCurrentDateTime(TimeDate())) [1,8] function to get the current date but i am wondering by using the same function is there a way i can get the yesterday's date which i want to use as a parameter in the file i am producing.

Thanks

Posted: Tue Nov 20, 2007 4:00 pm
by dsdev_123
thanks,

i got the answer i just triekd with -1 at the end.

thanks

Re: yesterdays date

Posted: Tue Nov 20, 2007 4:04 pm
by gateleys

Code: Select all

Oconv(Date()-1, "D-YMD[4,2,2]")