Utility function to format a DateTime in the format expected in a spec

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2015.1.103.4687 (2015.1.103.4687)

Syntax

C#
public static string FormatDateTime(
	DateTime dt
)
Visual Basic
Public Shared Function FormatDateTime ( _
	dt As DateTime _
) As String
Visual C++
public:
static String^ FormatDateTime(
	DateTime dt
)

Parameters

dt
Type: System..::..DateTime

Return Value

See Also