Jump to content
Server Maintenance This Week. ×

This topic is 6568 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi there

I found the following calculation on a post on here and I have been trying to modify it so that I can calculate someones age based on the current date. This way their age will update each year in relation to the current date.

However, out of 10 I would say i'm at level 2 or 3 so I don't fully understand it and it doesn't work when I modify it.

Year(Date( 8; 1; Year(Get(CurrentDate)) + (GetAsNumber(Get(CurrentDate)) > GetAsNumber(Date( 8; 1; Year(Get(CurrentDate))) )) )) - Year(birthdate) -

(GetAsNumber(Date( 8; 1; Year(Get(CurrentDate)) + (GetAsNumber(Get(CurrentDate)) > GetAsNumber(Date( 8; 1; Year(Get(CurrentDate))))) )) < GetAsNumber(Date(Month(birthdate); Day(birthdate); Year(Date( 8; 1; Year(Get(CurrentDate)) + (GetAsNumber(Get(CurrentDate)) > GetAsNumber(Date( 8; 1; Year(Get(CurrentDate))) ))) ))))

I also tried a simple calculation:

Todays date - birthdate

But the result isn't quite working out.

I have trawled through other posting but I can't seem to find anything that will help me.

Thanks in advance.

Link to comment
Share on other sites

This topic is 6568 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.