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
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.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.