The easiest way isn't to read the clock at all and instead just put your program to sleep for a while:

void main() {
    import std.stdio;
    import core.thread;
    writeln("started");
    Thread.sleep(3500.msecs);
    writeln("ended");
}

Reply via email to