Click or drag to resize

SToDt Function

Convert an Date string to DateTime

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.2a
Syntax
 FUNCTION SToDt(
	cDate AS STRING
) AS DateTime
View Source

Parameters

cDate
Type: String

Return Value

Type: DateTime
The date value that corresponds to the numbers specified in <cDate>.  If <cDate> is not a valid date, CToD() returns a NULL_DATE.
See Also