GetYearInfo (open)

Return info about a year

Syntax

LOADLIB "wh::datetime.whlib";

RECORD FUNCTION GetYearInfo(INTEGER year)

Parameters

INTEGER year

Year

Return value

RECORD

Information about that year

BOOLEAN isleapyear

Whether the year is a leap year

INTEGER numweeks

Number of weeks in the year