Thread Tools Display Modes
07-29-05, 12:56 PM   #1
EyesMcFly
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 3
TimeOffset

TimeOffset allows the user to sync game time with local time.
The sync time can then be used by other mods.

While I was evaluating mods I noticed that every
mod that uses date/time functions has its own sync function.

And it was a pain in the ass to sync the time for every mod.

So I wrote this mod.

TimeOffset doesn't change anything in the game.

It just allows the user to set the local hour/minute offset from game time,
which can then be accessed by other mods.

Example:

Code:
if TimeOffset then
	-- TimeOffset is installed
	-- Feel free to call TimeOffset's date / time functions.
	timestamp = TimeOffset_GetSyncStamp();
	date = TimeOffset_GetSyncArray();
	hour,min,wday,year,yday,month,sec,day,isdst = TimeOffset_GetSyncArray();
else
	-- TimeOffset is NOT installed
	-- Do not attempt to call any TimeOffset functions.
end
Currently you can download TImeOffset here.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Released AddOns » TimeOffset


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off