GetTime

From RAGE Multiplayer Wiki

Gets the current time in the world.


C# Syntax

TimeSpan NAPI.World.GetTime();

Example

[Command("gettime")]
public void GetTimeCommand(Client sender)
{
    sender.sendChatMessage("Time: " + NAPI.World.GetTime().ToString());
}