Hey Pavani,
Can you state a little more, how exactly are you trying to calculate the age?
Download the module Person and have a look at microflow DateTime_GetCurrentAge:
And yes, this can be a nanoflow, but it is also in use as the microflow for a calculated field. And a microflow cannot call a nanoflow.