getweekday
getweekday |
Purpose
Compute the day of the week for a date or datetime.
Synopsis
function getweekday(d:date):integer
function getweekday(dt:datetime):integer
Arguments
d
|
A
date object
|
dt
|
A
datetime object
|
Return value
The number of the day in the week (1-7).
Further information
The first day of the week (number 1) is Monday.
Module