Page 1 of 1

Regarding date manipulation

Posted: Thu Mar 24, 2005 10:00 pm
by Bilwakunj
Hi,
I've a job where I need to find out the specified date is in between the start date and end date or not.
I've gone through the date functions of PX but i couldn't find any.
Can anybody give me any idea how to do this in PX?

Thanks,
bilwakunj

Posted: Fri Mar 25, 2005 1:04 pm
by gh_amitava
Hi,

First convert all the dates in Date datatype. i,e if the datatype of the dates are String then use DateToString function to convert into Date datatype. After that simply use

(If Date > Date1 And Date < Date2) Then <Action1> Else <Action2>..

It will work.

Regards
~Amitava