Get date at compile time
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Oct 1 08:08:57 PDT 2016
On Saturday, 1 October 2016 at 15:00:29 UTC, pineapple wrote:
> Has there been consideration for adding separate integral
> tokens for day, month, year, etc?
Not that I'm aware of.
The purpose of this is more for things like version and help
strings (e.g. "MyApp built 1 Oct 2016") than for serious
processing, but you can also slice the string up to do more with
it.
> The documentation there doesn't seem to specify but I assume
> currently the timestamps are for local time?
yeah/
More information about the Digitalmars-d-learn
mailing list