Documentation for method Instant

Documentation for method Instant, assembled from the following types:

class DateTime

From DateTime

(DateTime) method Instant

Defined as:

method Instant(DateTime:D: --> Instant:D)

Returns an Instant object based on the invocant.

say DateTime.new('2015-12-24T12:23:00+0200').Instant# OUTPUT: «2015-12-24T12:23:00+02:00␤»