Click or drag to resize

Functions.SToDt Method

X#
Convert an Date string to DateTime

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.18
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