Thread Tools Display Modes
05-10-11, 11:31 AM   #1
Be3f.
A Theradrim Guardian
 
Be3f.'s Avatar
Join Date: Jan 2011
Posts: 65
Dateline

Hi folks!

As I'm currently changing my UI, I was wondering if there's any addon that displays a "dateline",
or if it's even possible to add a "dateline" into an addon such as "Litepanels".
So it would end up something like "Tuesday 10 May 2011".

Help will be very much appreciated <3.
__________________
-- Be3f.
  Reply With Quote
05-10-11, 11:55 AM   #2
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
That would be something like this
Lua Code:
  1. date("%A %d %B %Y")
Although I'm not sure if you just want to show the current date, or only save the date to an addon's version or something

http://www.cplusplus.com/reference/c...time/strftime/
http://php.net/manual/en/function.strftime.php

Last edited by Ketho : 05-10-11 at 11:59 AM.
  Reply With Quote
05-10-11, 12:07 PM   #3
Be3f.
A Theradrim Guardian
 
Be3f.'s Avatar
Join Date: Jan 2011
Posts: 65
Originally Posted by Ketho View Post
That would be something like this
Lua Code:
  1. date("%A %d %B %Y")
Although I'm not sure if you just want to show the current date, or only save the date to an addon's version or something

http://www.cplusplus.com/reference/c...time/strftime/
http://php.net/manual/en/function.strftime.php
Hi Ketho, thanks for the quick reply.

According to the first link the code seems right. I may should have mentioned, that my experience with lua probably isn't as good/well as this may require.
But basicly, I just want to show the current date, nothing fancy to go along with it. But even if that code can be used, I wouldn't know how to implement it.
__________________
-- Be3f.
  Reply With Quote
05-10-11, 12:19 PM   #4
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Sorry, I don't have any experience with LitePanels, nevermind me
I hope maybe someone more knowledgeable could help you
  Reply With Quote
05-10-11, 12:28 PM   #5
Be3f.
A Theradrim Guardian
 
Be3f.'s Avatar
Join Date: Jan 2011
Posts: 65
No worries mate. My quest continues .

- and to everyone else reading, post #1 remains.
__________________
-- Be3f.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Dateline


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