Forum Discussion

robhel's avatar
robhel
Icon for Helper I rankHelper I
7 years ago
Solved

Year Month Calculation on TODAY ()

Hello Guru's   Looking for your expert advice on how to achieve the following scenario of calculating the number of Year’s & Months from TODAY() until next lot of Long Service Leave (LSL) will be a...
  • v-chuncz-msft's avatar
    v-chuncz-msft
    7 years ago

    robhel ,

     

    Try to change it as follows.

        CONCATENATE (
            CONCATENATE ( Years, "." ),
            MOD ( Months - ( Years * 12 ) + 12, 12 )
        )