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:
curtime, uncertain = LibStub("LibSyncTime-1.0"):synctime()
This is the current server-side UNIX timestamp
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.
- 7 comments
- Date created
- Dec 06, 2010
- Last update
- Sep 03, 2012
- Development stage
- GNU Lesser General Public License version 3 (LGPLv3)
- Curse link
- Reverse relationships
- Recent files