I have a script which needs to be able to calculate a person's age based on the date entered for a date of birth. Using
set %age $calc($asctime($ctime($today),yyyy)-$asctime($ctime(%dob),yyyy))
works fine for dates on or after Jan 1 1970
any suggestions as to how I can do something similar for dates before Jan 1 1970?
The date of birth is not entered in any one specific format.