https://issues.dlang.org/show_bug.cgi?id=24288

Nick Treleaven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Nick Treleaven <[email protected]> ---
This is what I came up with, not sure if there's a better way:

    const tod = cast(TimeOfDay) Clock.currTime;
    (tod.hour * 60 + tod.minute).writeln();

--

Reply via email to