SToDt Function | |
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
public static DateTime SToDt(
string cDate
)
Request Example
View SourceParameters
- 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