TimeHelper.FormatDate Method

HD.Common

TimeHelperFormatDate Method Helper帮助文档
格式化日期时间

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static string FormatDate(
	DateTime dateTime1,
	string dateMode
)
Public Shared Function FormatDate ( 
	dateTime1 As DateTime,
	dateMode As String
) As String
public:
static String^ FormatDate(
	DateTime dateTime1, 
	String^ dateMode
)
static member FormatDate : 
        dateTime1 : DateTime * 
        dateMode : string -> string 

Parameters

dateTime1
Type: SystemDateTime
日期时间
dateMode
Type: SystemString
显示模式

Return Value

Type: String
0-9种模式的日期
See Also

Reference