Difference between revisions of "Useful D snippets"
(Created page with " http://dlang.org/intro-to-datetime.html import std.datetime; import core.stdc.time; void main() { time_t unixTime = core.stdc.time.time(null); auto stdTime =...") |
(No difference)
|
Revision as of 19:52, 15 May 2015
http://dlang.org/intro-to-datetime.html
import std.datetime; import core.stdc.time; void main() {
time_t unixTime = core.stdc.time.time(null); auto stdTime = unixTimeToStdTime(unixTime); auto st = SysTime(stdTime);
}