__TIMESTAMP_UNIXEPOCH__ instead of useless __TIMESTAMP__?

rikki cattermole rikki at cattermole.co.nz
Thu Jan 25 01:50:12 UTC 2018


On 24/01/2018 7:18 PM, Timothee Cour wrote:
> __TIMESTAMP__ is pretty useless:
> `string literal of the date and time of compilation "www mmm dd hh:mm:ss yyyy"`
> eg:Wed Jan 24 11:03:56 2018
> which is a weird non-standard format not understood by std.datetime.
> __DATE__ and __TIME__ are also pretty useless.
> 
> Could we have __TIMESTAMP_UNIXEPOCH__ (or perhaps
> __TIMESTAMP_SYSTIME__ to get a SysTime) ?

That can be a library solution from __TIMESTAMP__.


More information about the Digitalmars-d mailing list