Contents

now

The current date and time, as of the time of access.

Declaration

class var now: Date { get }

Discussion

This is equivalent to initializing a new instance with NSDate() (or [[NSDate alloc] init] in Objective-C). The NSDate instance doesn’t automatically update its time after you retrieve it.