Skip to content

get_ryzom_date

Ryzom Core Wiki edited this page Jul 8, 2024 · 3 revisions

title: Get Ryzom Date description: published: true date: 2023-03-16T23:07:47.824Z tags: editor: markdown dateCreated: 2023-03-16T22:24:37.655Z

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.

Clone this wiki locally