TheCommonUtils..::..GetDateTimeString Method (DateTimeOffset, Guid, String)
Formats a date as a string.
Namespace:
nsCDEngine.BaseClassesAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public static string GetDateTimeString( DateTimeOffset pDate, Guid pSEID, string pFormat )
Public Shared Function GetDateTimeString ( _ pDate As DateTimeOffset, _ pSEID As Guid, _ pFormat As String _ ) As String
public: static String^ GetDateTimeString( DateTimeOffset^ pDate, Guid^ pSEID, String^ pFormat )
Parameters
- pDate
- Type: DateTimeOffset
Date to be converted
- pSEID
- Type: Guid
Session ID of the request for the string
- pFormat
- Type: String
Format string for the return. If not set, "" will be used