Convert SysTime to TickDuration?
Andrej Mitrovic
andrej.mitrovich at gmail.com
Tue Nov 22 16:01:54 PST 2011
I'm trying to port some Tango D1 code to D2, I don't know why ticks
are used, but this was the code:
timeModified = Path.modified(path).ticks;
It fetches the modification date of a file and apparently converts
that to ticks. I've tried using Phobos' std.file.timeLastModified
which returns a SysTime, but I don't know how to convert that to
ticks.
Anyway, if that's not possible I'll just have to rewrite more code,
it's not too big of a deal.
More information about the Digitalmars-d-learn
mailing list