TimeHelperGetFormatTime Method | Helper帮助文档 |
将时间格式化成 时分秒 的形式,如果时间为null,返回当前系统时间
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public string GetFormatTime( DateTime dt, char Separator )
Public Function GetFormatTime ( dt As DateTime, Separator As Char ) As String
public: String^ GetFormatTime( DateTime dt, wchar_t Separator )
member GetFormatTime : dt : DateTime * Separator : char -> string
Parameters
- dt
- Type: SystemDateTime
[Missing <param name="dt"/> documentation for "M:HD.Common.TimeHelper.GetFormatTime(System.DateTime,System.Char)"]
- Separator
- Type: SystemChar
[Missing <param name="Separator"/> documentation for "M:HD.Common.TimeHelper.GetFormatTime(System.DateTime,System.Char)"]
Return Value
Type: String[Missing <returns> documentation for "M:HD.Common.TimeHelper.GetFormatTime(System.DateTime,System.Char)"]
See Also