-
Notifications
You must be signed in to change notification settings - Fork 94
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
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.
(tickGameCycle: s)getRyzomDate(); // getRyzomDate__s
- tickGameCycle (string): The time of the Ryzom universe. 10 ticks is equivalent to 1 second.
($tickGameCycle)getRyzomDate();
This example code gets the current Ryzom tick game cycle and returns it as a string.