count days between 2 Dates

SimoGsiSimoGsi Member Posts: 23
Hi all,
Please, How to calculate the number of days between 2 Dates?!!
i ve tried this
i:=date2-date1 ;

Example :
i:=12/09/2004-01/09/2004
when i display the value of <i> it has 3 instead of 11
i dont know what is the problem!!


Thank you
:wink:
Navision

Comments

Sign In or Register to comment.