4.3.66 ctdbDayOfWeek
Retrieve the day of the week from a packed CTDATE.
Declaration
NINT ctdbDayOfWeek(CTDATE date)Description
ctdbDayOfWeek retrieves the number of the day of the week from a packed CTDATE. Sunday is 0, Monday is 1, Tuesday is 2, Wednesday is 3, Thursday is 4, Friday is 5 and Saturday is 6. To retrieve the day of the month, use ctdbGetDay.
Returns
ctdbDayOfWeek returns the number of the day of the week, or -1 on error.
See also
ctdbGetDay
|
FairCom Corporation www.faircom.com |