Get date at compile time

kdevel via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 26 05:15:41 PDT 2017


On Saturday, 1 October 2016 at 15:00:29 UTC, pineapple wrote:
> Though I don't currently have any need for this feature I'd 
> imagine that if I did I'd want the time in UTC, not locally

You may invoke the compiler with TZ= prepended. (Linux)




More information about the Digitalmars-d-learn mailing list