1 2 3
set(ENV{SOURCE_DATE_EPOCH} "1123456789") string(TIMESTAMP RESULT "%Y-%m-%d %H:%M:%S %a %b %y day=%j wd=%w week=%U %%I=%I epoch=%s" UTC) message("RESULT=${RESULT}")