Extract the number of the day of the week from a Date.
XSharp.RT (in XSharp.RT.dll) Version: 2.0
d AS DATE
) AS DWORD
public static uint DoW(
- Type: DATE
The Date to extract the day of the week from.
The day of the week as a number from 1 to 7, where 1 is Sunday, 2 is Monday, and so on. For a NULL_DATE, DoW() returns 0.