d_time and writefln

Carlos Santander csantander619 at gmail.com
Mon May 8 18:43:42 PDT 2006


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



More information about the Digitalmars-d-bugs mailing list