UCE Docs / time

Signature

u64 time()

Parameters

return value : second-accurate current Unix timestamp

Returns the current Unix timestamp as a 64-bit integer with second precision.

Example

print(time() > 0 ? "timestamp\n" : "no timestamp\n");
Output
timestamp