Date Problem

Hi,

Suppose I have two dates

  1. Due Date(24/02/09)

  2. Order Date(17/02/09)

I want to know that what is the difference date between these two dates.

Please send me code for this.

Thanks,

Himanshu

Hi Himanshu,

Try with this little example:

Date1 := 010109D;
Date2 := 310109D;
MESSAGE('Date2 - Date1 = %1',Date2-Date1);