Click or drag to resize
AkCommonParseDateTime Method (String)
按照格式yyyy-MM-dd HH:mm:ss解析字符串并转换为日期时间。

如果转换失败则返回NullDate。

Namespace: Appkit.Common
Assembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C#
public static DateTime ParseDateTime(
	string value
)

Parameters

value
Type: SystemString
字符串。

Return Value

Type: DateTime
日期时间值,如果转换失败则为NullDate。
See Also