What is wrong here? Error: cannot cast int to SYSTEMTIME

Spacen Jasset spacenjasset at yahoo.co.uk
Tue Oct 23 08:42:31 PDT 2007


Digital Mars D Compiler v1.015

Neither of these lines will compile and give: Error: cannot cast int to 
SYSTEMTIME

without a line number. How might I get this to work?


import std.date;

//long utc_time1 = std.date.getUTCtime();

void main()
{
	//static long utc_time1 = std.date.getUTCtime();
}

Regards,
Jason


More information about the Digitalmars-d-learn mailing list