To calculate birth year automatically?

Guys , i’m facing a problem in converting the variable and displaying the output in message box.
I have created Two variables , one for input panel and another for assign activity .
Input panel variable = year
assign activity - birthday (variable)= System.DateTime.Now.Year.ToString
Now i have to minus the value of year and birthday and display it in Message box , how to do it ? kindly help

image

Hi @vaigunth_rey
welcome to forum

use this in message box to get the age

CInt(birthday)-CInt(year)

Regards,
Nived N
Happy Automation

2 Likes

@NIVED_NAMBIAR Thanks for the help bro …

1 Like

please mark it as solution if it works for you

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.