SToDt Function
|
|
Convert an Date string to DateTime
命名空间:
XSharp.Core
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.24 GA
Syntax FUNCTION SToDt(
cDate AS STRING
) AS DateTime
public static DateTime SToDt(
string cDate
)
Request Example
查看代码Parameters
- cDate
- 类型:String
Return Value
类型:
DateTime
与
cDate 中指定数字对应的日期值。
如果
cDate 不是有效日期,CToD() 返回 NULL_DATE。
See Also