
These are defined both by [1] and [2] to give full names of a weekday and month. [1] http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html [2] https://msdn.microsoft.com/de-de/library/fe06s4ak.aspx
4 lines
170 B
CMake
4 lines
170 B
CMake
set(ENV{SOURCE_DATE_EPOCH} "1123456789")
|
|
string(TIMESTAMP RESULT "%Y-%m-%d %H:%M:%S %A=%a %B=%b %y day=%j wd=%w week=%U %%I=%I epoch=%s" UTC)
|
|
message("RESULT=${RESULT}")
|