Click or drag to resize

DoW Function

Extract the number of the day of the week from a Date.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION DoW(
	d AS DATE
) AS DWORD

Parameters

d
Type: DATE
The Date to extract the day of the week from.

Return Value

Type: UInt32
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.
See Also