Click or drag to resize

SToDt Function

X#
Convert an Date string to DateTime

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 FUNCTION SToDt(
	cDate AS STRING
) AS DateTime
Request Example 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