Quantcast I'm Starting a Project TimeWorks - ESOUI
Thread Tools Display Modes
11/03/14, 02:21 PM   #1
zireko
 
zireko's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 63
I'm Starting a Project TimeWorks

I wanted to do a code for a Clock. The author of SimpleClock has stopped working on it so I wanted to bring out a new clock for use. Now my clock will not be as advanced as SimpleClock to begin with. I like having an in-game clock so that I can keep up with the time from how long I been playing to when I need to start dinner.

Name of the Addon will be: TimeWorks

Local function that I'm going to need is a 12 hour clock function. If anyone knows a very simple 12 hour clock function could you please share? I'm looking all over for a function that does this. I've looked at SimpleClock and the code is all split up so it's harder to understand and really find the function.
  Reply With Quote
11/03/14, 03:02 PM   #2
Randactyl
 
Randactyl's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 253
check out http://wiki.esoui.com/API and ctrl+f for "time"

There are quite a few functions dealing with time such as GetTimeString() GetTimeStamp() GetFormattedTime() etc. You'll have to play and see which will suit you best
__________________
Randactyl | NA Megaserver | Blood for the Pact!

My Addons
Check out my GitHub repos to follow my latest changes and see some addons before they are released.
  Reply With Quote
11/03/14, 03:07 PM   #3
zireko
 
zireko's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 63
Thank you Randactyl.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » I'm Starting a Project TimeWorks

Thread Tools
Display Modes

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