method Instant
1 | class DateTime |
1.1 | (DateTime) method Instant |
Documentation for method Instant
assembled from the following types:
class DateTime
From DateTime
(DateTime) method Instant
Defined as:
method Instant(DateTime: --> Instant)
Returns an Instant object based on the invocant.
say DateTime.new('2015-12-24T12:23:00+0200').Instant; # OUTPUT: «Instant:1450952616»