Hi,
I am trying to work out how many days and years it is until an employee retires.
I have started the code and got it to display the number of days it is until they retire but i am trying to work out a way to convert this to display
For example
Darren 24 years 14 Days
Cheers for you help
Darren
Answers
Here is the function. O:)
You might need to test it .....!!
DurationBetween(Date1 : Date;Date2 : Date) : Text[70]
parameters
Date1 --- Date
Date2 --- Date
local Variables
month --- Integer
days --- Integer
year --- Integer
DurationText --- Text --- 70 I hope it helps .. :P
Technical Consultant, MS Dynamics NAV