Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

YOFA( [ dBirth[, dDate ]] )

Purpose

Calculates a person's age in years.

Arguments

     dBirth -- birthdate; defaults to today

     dDate -- date from which to calculate age; defaults to today

Setup

None.

Example

     ? YOFA()
     ? YOFA( CTOD( "01/01/60" ) )
     ? YOFA( CTOD( "01/01/60" ), CTOD( "01/01/99" ) )

Returns

Age in years.

Side Effects

None.

Artful Calls

YEARS_BTW

Source File

AA_YOFA.PRG

See Also: MONS_BTW() YEARS_BTW() STD_DATE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson