getWeekDay


function getWeekDay(time: integer): integer;

Returns the day in week for the given time (time is represented in seconds since 1.1.1970. and can be retrieved by calling getCurrentTime function). Returned value is 1 for Sunday, 2 for Monday, etc (7 is Saturday).

See also: getCurrentTime, getYear, getMonth, getDay, getYearDay