Get date at compile time

Andrew via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Oct 1 07:41:22 PDT 2016


Hi,

Is there any way to get the system date at compile time. I want 
something like:

static string compileDate = Clock.currTime.toString;

but that fails.

Thanks very much

Andrew


More information about the Digitalmars-d-learn mailing list