L
les
Here is my formula:
CAST(EVAL_DT - CAST('07/01/' + LEFT (POLEFFDT, 4) AS datetime) AS float) /
(365 / 12)
It is giving me the developments months in a year.
The problem is it is not giving me the answers in whole numbers.
When I use :
ROUND(CAST(EVAL_DT - CAST('07/01/' + LEFT (POLEFFDT, 4) AS datetime) AS
float) / (365 / 12), 0)
It rounds up which I do not want it to do.
Can someone show me where the Datediff should go in my formula?
Thanks!
CAST(EVAL_DT - CAST('07/01/' + LEFT (POLEFFDT, 4) AS datetime) AS float) /
(365 / 12)
It is giving me the developments months in a year.
The problem is it is not giving me the answers in whole numbers.
When I use :
ROUND(CAST(EVAL_DT - CAST('07/01/' + LEFT (POLEFFDT, 4) AS datetime) AS
float) / (365 / 12), 0)
It rounds up which I do not want it to do.
Can someone show me where the Datediff should go in my formula?
Thanks!