Contents

now

Returns a date instance that represents the current date and time, at the moment of access.

Declaration

static var now: Date { get }

Discussion

This property is equivalent to calling init(). If you assign this value to a variable or property, the assigned value doesn’t automatically update as time passes.