Thread: Time formating.
View Single Post
02-08-12, 01:36 PM   #1
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
Time formating.

So i have been using this to format to a normal 12 hour clock format based on my client time. How do i get it to format for 24 hours? like military time?

Code:
GUI_DashClock.text:SetText(("%d:%s"):format(tonumber(date("%I")), date("%M%p"):lower()))
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
  Reply With Quote