Dear Priyanka,
You can use Arithmetic expressions and Mathematical functions, example inside variables .
Divide the number X by 12 and take floor, this will give you the Years.
Use X mod 12, this will give you the remaining months.
Refer to this Documentation for Arithmetic expressions and this Documentation for Mathematical functions.
Regards,
Sufian.