[Overview][Constants][Procedures and functions][Index] |
Number of days in a particular year.
Source position: dateutil.inc line 99
function DaysInAYear( |
const AYear: Word |
):Word; |
AYear |
|
Year to return the number of days from |
Number of days in year AYear.
DaysInAYear returns the number of weeks in the year AYear. The return value is either 365 or 366.
|
Return the number of weeks in a given year |
|
|
return the number of weeks in the year, given a date |
|
|
Return the number of days in the year in which a date occurs. |
|
|
Return the number of days in the month in which a date occurs. |
|
|
Number of days in a month of a certain year. |
Program Example15; { This program demonstrates the DaysInAYear function } Uses SysUtils,DateUtils; Var Y : Word; Begin For Y:=1992 to 2010 do Writeln(Y,' has ',DaysInAYear(Y),' days.'); End.
lazarus-ccr.sourceforge.net |