Utility function to format a DateTime in the format expected in a spec
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2017.2.157.613 (2017.2.157.0613)
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