Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / Metadata Class / FormatUTC Method
A DateTime value to format.
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.

In This Topic
    FormatUTC Method
    In This Topic
    Formats a DateTime value for writing to metadata.
    Syntax
    'Declaration
     
    Public Shared Function FormatUTC( _
       ByVal dateTime As System.Date, _
       ByVal forceTimeZoneOffset As System.Boolean _
    ) As System.String
    public static System.string FormatUTC( 
       System.DateTime dateTime,
       System.bool forceTimeZoneOffset
    )

    Parameters

    dateTime
    A DateTime value to format.
    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.

    Return Value

    Formatted string.
    See Also