Click or drag to resize

Date2Bin Function

Convert a Date to a 32-bit binary Date string.

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

Parameters

dValue
Type: DATE
The date value to convert.

Return Value

Type: String
Date2Bin() is a conversion function that converts a date data type into a 4-byte string. Typical applications include reading foreign file types in their native format and then saving, reading, decrypting, and transmitting date types in their compressed binary form instead of in strings. Its inverse is Bin2Date().
See Also