Click or drag to resize

Bin2Date Function

Convert a string containing a 32-bit binary Date to a Date data type.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION Bin2Date(
	cString AS STRING
) AS DATE

Parameters

cString
Type: String
A 32-bit binary date represented as a string ? least significant byte first. Only the first 4 bytes are used by the function; all others are ignored.

Return Value

Type: DATE
A date value that corresponds to the date specified in cString. If cString is not a valid binary date, Bin2Date() returns a NULL_DATE.
See Also