Thread
:
12 hour time format
View Single Post
03-13-14, 02:01 PM
#
3
Phanx
Cat.
Join Date: Mar 2006
Posts: 5,617
If you also want to add an am/pm indicator:
Code:
local time = date("|c00ffffff
%I
|r:|c00ffffff%M|r
%P
")
Use %P (uppercase) for a
lowercase
am/pm, or %p (lowercase) for an
uppercase
AM/PM.
__________________
Retired author of
too many addons
.
Message me if you're interested in taking over one of my addons.
Don’t
message me about addon bugs or programming questions.
Phanx
View Public Profile
Send a private message to Phanx
Find More Posts by Phanx