LibSyncTime-1.0

LibSyncTime-1.0 is a light-weight solution that provides a server-side UNIX timestamp useful for synchronizing data across clients in multiple timezones or with non-synchronized system clocks.

LibSyncTime uses a single, simple API call:

LibSyncTime-1.0 API

curtime, uncertain = LibStub("LibSyncTime-1.0"):synctime()

Returns

curtime

This is the current server-side UNIX timestamp

uncertain

This boolean being true indicates that no second-level precision is guaranteed on the return value. This means that no time sync has been recieved and no server time change has been observed since UI load.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

WoW Retail

  • r7
    Sep 3, 2012
  • r6
    Sep 3, 2012