www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 24288] New: std time handling SUX

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

          Issue ID: 24288
           Summary: std time handling SUX
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: crazymonkyyy gmail.com

theres more docs than I've ever written across 6 maybe 7 files

it took me an HOUR to write this line of code; 

`int min=((Clock.currStdTime/10_000_000)/60)%(60*24);`

the unit hnsecs is made up, im still unsure if its correct, etc etc etc

I just wanted the current hour and minute, why is there so much code between me
and the solution?

--
Dec 18 2023