LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

date of birth to age

Well, this was a 3 year old discussion....

 

Why does it "work" if you get negative days and months? That does not sound right (and why is it funny?). Can you attach your code?

 

You can use a simple comparison operations to see if an age is exceeded. Have you tried?

0 Kudos
Message 11 of 12
(695 Views)

HI 

I just follow ur code , I said it works because it shows the date and year correctly but I said its funny because it shows negative value for months, but for example I am 22 years old, the program shows the year 23 , and -4 for months , means I will be 23 in 4 months.. Yes I tried and worked. thanks alot 

Message 12 of 12
(675 Views)