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

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

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

formatted date string

See Also