Documentation for method Instant assembled from the following pages:

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: «Instant:1450952616␤»