[]
Formats a DateTime value for writing to metadata.
public static string FormatUTC(DateTime dateTime, bool forceTimeZoneOffset)
Public Shared Function FormatUTC(dateTime As Date, forceTimeZoneOffset As Boolean) As String
Type | Name | Description |
---|---|---|
DateTime | dateTime | A DateTime value to format. |
bool | forceTimeZoneOffset | Indicates whether to force add time zone offset for a value even if it is 00:00. It is required in case of PDF/A. |
Type | Description |
---|---|
string | Formatted string. |