[]
Formats a DateTime value for writing to metadata.
public static string FormatUTC(DateTime dateTime, bool forceTimeZoneOffset)
| 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. |