[Issue 11353] core.time.Duration is missing to() conversion function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 25 16:03:13 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11353



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-10-25 16:03:12 PDT ---
(In reply to comment #1)
> Same thing for SysTime:
> 
> stderr.writefln("Current time: %s", Clock.currTime.msecs);
> 
> Error: function core.time.dur!"msecs".dur (long length) is not callable using
> argument types (SysTime)

Apparently I have to use:

Clock.currTime.fracSec.msecs

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list