In DateTime§
See primary documentation in context for method Instant.
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»
See primary documentation in context for method Instant.
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»