[Info-vax] check date against an given age

Mike Rechtman mike at rechtman.com
Wed Nov 11 12:38:07 EST 2009


DTL wrote:
> Hi Folks,
> 
> I'm needing some help to write the following in DCL:
> 
> if person's age >= 60 years old then...
> 
> knowning that birth date in file has format JJ/MM/AA
> 
> Thanks for your help.
> 
> Didier
What version of VMS?
IIRC there was an addition to DCL lexicals in V8.? to do date subtraction.

-- 
Mike R.
Home: http://alpha.mike-r.com/
QOTD: http://alpha.mike-r.com/php/qotd.php
No Micro$oft products were used in the URLs above, or in preparing this message.
Recommended reading: http://www.catb.org/~esr/faqs/smart-questions.html#before



More information about the Info-vax mailing list