Instance Method

addTimeInterval(_:)

Adds a time interval to this date.

Declaration

mutating func addTimeInterval(_ timeInterval: TimeInterval)

Parameters

timeInterval

The value to add, in seconds.

Discussion