get_ryzom_date - ryzom/ryzomcore GitHub Wiki


title: Get Ryzom Date description: published: true date: 2023-03-12T17:01:23.039Z tags: editor: markdown dateCreated: 2023-03-12T17:01:19.453Z

getRyzomDate

The getRyzomDate native AI script function returns the Ryzom tick game cycle as a string. The Ryzom tick is useful for computing time differences. The tick counter stops when the server stops.

Syntax

(tickGameCycle: s)getRyzomDate(); // getRyzomDate__s

Return Value

  • tickGameCycle (string): The time of the Ryzom universe. 10 ticks is equivalent to 1 second.

Example

($tickGameCycle)getRyzomDate(); 

This example code gets the current Ryzom tick game cycle and returns it as a string.

⚠️ **GitHub.com Fallback** ⚠️