For the convenience of use, gmake2 has some built-in available variables, which will be continuously updated.
Current time
@echo {{.time.now}}
Current UTC time
@echo {{.time.utc}}
Current Unix Time
@echo {{.time.unix}}
Current UTC Unix time
@echo {{.time.utc_unix}}
Current system name
@echo {{.runtime.os}}
Current System Architecture
@echo {{.runtime.arch}}
Current GMake2 Version
@echo {{.gmake2.version}}
Current GMake2 Version Code
@echo {{.gmake2.code}}
Current GMake2 Build Time
@echo {{.gmake2.time}}