Calculate Age from a given birthdate


#1

I have a string (birthdate), in this format: ddMMyyxxxxx. The x’es are just random numbers. What i want is the age of this given person. Very basic question but im having some issues finding a smooth solution for this. Been looking into using .Ticks but not gotten anywhere. I’ve been trying different formats of the string. Trying with ddMMyyyy atm


#2

Hi @Adrian_Vigdal,

Refer this post

Regards,
Arivu


#3

Thanks! :smiley: Should have found that one myself but i didnt, sorry.


#4

please send your age calculate bot on hari.gaikwad@soprasteria.com