G
Guest
Hi. I need to calculate the interval between two dates in terms of months,
and I can't figure out how to make datediff work in the decimal form that I
need...
For example,
Employee1 began on 4/1/2002 and left 3/31/2003. I need to calculate the date
interval field to say "1" (year)
Employee2 began on 4/1/2003 and left 9/30/2003. The interval field for it
should say ".5"
I'm sure there's some calculation to be done on datediff, but while I could
get "1" for Employee1, I can not for the life of me get ".5" for Employee2.
Thanks for the help!
and I can't figure out how to make datediff work in the decimal form that I
need...
For example,
Employee1 began on 4/1/2002 and left 3/31/2003. I need to calculate the date
interval field to say "1" (year)
Employee2 began on 4/1/2003 and left 9/30/2003. The interval field for it
should say ".5"
I'm sure there's some calculation to be done on datediff, but while I could
get "1" for Employee1, I can not for the life of me get ".5" for Employee2.
Thanks for the help!