getdaynum
getdaynum |
Purpose
Get the day number in the year of a date or datetime.
Synopsis
function getdaynum(d:date):integer
function getdaynum(dt:datetime):integer
Arguments
d
|
A
date object
|
dt
|
A
datetime object
|
Return value
Day number in the year.
Example
writeln(getdaynum(date(2010,2,1))) ! displays: 32
Related topics
Module