Contents

currentDate()

Returns the current time of the item as a date.

Declaration

nonisolated func currentDate() -> Date?

Return Value

The current time of the item as a date, or nil if there isn’t a mapped date for the item.

Discussion

The system calculates this value from the EXT-X-PROGRAM-DATE-TIME tag.

See Also

Accessing timing information