d_time should be recognized by writefln.
//-------------
import std.date;
import std.stdio;
void main() {
d_time fecha = getUTCtime();
writefln("%s",toDateString(fecha));
writefln(fecha);
}
//-------------
Outputs (any system):
$ ./test
Tue May 09 2006
1147138947602
--
Carlos Santander Bernal