Phobos: Determining number of hours or minutes or seconds till now

Rene Zwanenburg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 20 00:39:40 PST 2017


On Friday, 20 January 2017 at 03:48:14 UTC, rikki cattermole 
wrote:
> As per the documentation this is wrong for anything beyond a 
> few weeks.
> Although I have no idea if that's the case implementation wise.

I think the documentation is talking about the units used, not 
length of the duration. The reason Duration makes this 
distinction is because months and everything larger have a 
variable length. I'm not sure though.


More information about the Digitalmars-d-learn mailing list