Thread Tools Display Modes
10-28-06, 11:07 AM   #1
Sunset.Towers
A Defias Bandit
Join Date: Oct 2006
Posts: 2
Getting the current system time.

I searched for an answer to this question and still have yet to find the answer. I see a way to get the server time. Which is absolutely useless to me atm as I want to add my local time information to the Minimap Day/Night icon. Does anyone have a way of doing this worked out. If not I do have an alternative method I can use, but I would rather not if it is at all possible.
  Reply With Quote
10-28-06, 02:02 PM   #2
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 521
date() is the client time
time() is the seconds since some universal time (1972? not sure)
GetTime() is the seconds since your computer booted
GetGameTime() is the server time
  Reply With Quote
10-28-06, 06:38 PM   #3
Jayman405
A Defias Bandit
Join Date: Jul 2006
Posts: 3
time() - Returns time in seconds since epoch (00:00:00 Jan 1 1970)
  Reply With Quote
10-28-06, 07:46 PM   #4
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
Originally Posted by Sunset.Towers
I want to add my local time information to the Minimap Day/Night icon. Does anyone have a way of doing this worked out.
Alarm Clock Wrangler still works.
myClock is nice also.

I myself use fubar and timefu.

Last edited by ravagernl : 10-28-06 at 07:48 PM.
  Reply With Quote
10-29-06, 05:10 AM   #5
Sunset.Towers
A Defias Bandit
Join Date: Oct 2006
Posts: 2
Ok I didn't do exactly what I wanted but I did something that I consider to be a better option. My only problem now is updating my clock. Currently it only updates if I move the mouse over it and I'd like to fix it so that it will update every second.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Getting the current system time.


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