getTimestamp

getTimestamp() → integer timestamp
Returns the timestamp of the fight, equal to the number of seconds since January 1, 1970.

Returns the timestamp of the fight, equal to the number of seconds since January 1, 1970 (Unix time).

Return
Examples
var timestamp = getTimestamp()
debug("Fight timestamp: " + timestamp)
const timestamp = System.timestamp
Debug.log("Fight timestamp: " + timestamp)
timestamp = System.timestamp
Debug.log(f"Fight timestamp: {timestamp}")
See also