Documentation for routine now

Documentation for routine now, assembled from the following types:

language documentation Terms

From Terms

(Terms) term now

Returns an Instant object representing the current time.

class DateTime

From DateTime

(DateTime) method now

Defined as:

method now(:$timezone = $*TZ:&formatter --> DateTime:D)

Creates a new DateTime object from the current system time. A custom formatter and timezone can be provided. The :$timezone is the offset in seconds from GMT and defaults to the value of $*TZ variable.