LogoLogo
  • Introduction
  • sdks
    • Feature Comparison
    • Unity
    • Godot
    • Defold
    • LÖVE
    • Unreal
  • Quick Start
    • Unity
    • Godot
    • Defold
    • LÖVE
    • Unreal
  • Server Side
    • Entities
    • Chunks
    • Dimensions
    • Events
    • Logging
    • Lua Environment
    • Git Primer
    • Physics
  • HTTP API
    • Authentication
    • Player API
  • Api Reference
    • Entity API
      • Create
      • Message
      • Entity
        • Fields
          • ID
          • Type
          • Data
          • Chunkloader
          • Transient
        • Methods
          • Move
          • MoveTo
          • GetPosition
          • Remove
          • GetNearbyEntities
          • Warp
        • Necessary Methods
          • init
          • update
          • message
    • Client API
      • Message
    • Dimension API
      • Create
      • Delete
      • List
    • Events API
      • on_player_join
      • on_player_leave
    • Table API
      • Append
      • Remove
      • Join
    • Util API
      • Time
      • TimeMillis
    • HTTP Request API
      • Get
      • Post
      • Put
      • Delete
    • Physics API
      • NewBody
      • NewBoxShape
      • NewSphereShape
  • Template Projects
    • Rust Realm (MMO by BiteMe Games)
Powered by GitBook
On this page
  1. Api Reference

Util API

api.util

Method
Parameters
Return Value
Description

Time

None

int

Returns the number of seconds elapsed since a fixed point in history (Unix epoch)

TimeMillis

None

int

Returns the number of milliseconds elapsed since a fixed point in history (Unix epoch)

PreviousJoinNextTime

Last updated 4 months ago