Click or drag to resize

ConDate Function

Format a set of numbers representing a year, month, and day as a Date.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION ConDate(
	dwY AS DWORD,
	dwM AS DWORD,
	dwDay AS DWORD
) AS DATE

Parameters

dwY
Type: UInt32
A valid year. If the century digits are not specified, the century is determined by the rules of SetEpoch().
dwM
Type: UInt32
A number from 1 through 12 representing a valid month.
dwDay
Type: UInt32
A number representing a valid day of dwMonth.

Return Value

Type: DATE
The date that corresponds to the passed arguments. If any of the arguments specified do not represent a valid year, month, or day, a NULL_DATE is returned.
See Also