[Issue 24288] New: std time handling SUX
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 18 22:24:49 UTC 2023
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 at puremagic.com
Reporter: crazymonkyyy at 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?
--
More information about the Digitalmars-d-bugs
mailing list