hh-mm-ss
ErrorsCollection

hh-mm-ss

Synthesised documentation from type/DateTime

From type/DateTime

See Original text in context

method hh-mm-ss(DateTime:D: --> Str:D)

Returns the time represented by the object as a string in 24-hour HH:MM:SS format:

say DateTime.new("2052-02-29T22:34:56Z").hh-mm-ss;
# OUTPUT: «22:34:56␤»