Contents

CGPDFStringCopyDate(_:)

Converts a string to a date.

Declaration

func CGPDFStringCopyDate(_ string: CGPDFStringRef) -> CFDate?

Parameters

  • string:

    The string to convert to a date.

Return Value

A CFDate object.

Discussion

The PDF specification defines a specific format for strings that represent dates. This function converts strings in that form to CFDate objects.

See Also

Converting PDF Strings