DATE DIFFERENCE

How get difference amount various dates in SO creation date comes from (SalesTable - table) - invoice date comes from (CustInvoiceTrans- table)

and i require it in sales line table so i am trying to write a dsiplay method here

Thanks in advance

days = DateTimeutil::getDifference(DateTime123, DateTime234) / #secondsPerDay;

Thanks Rohit Wili try it [Y]

you can also try this date fromdate,todate; int numberofdays; then declare from date and to date numberofdays= intvNo(fromdate, todate, intvScale::Day); if you also get months and year from date

ok thanks again mate …