How to customize Mini Calendar to display 12 hour time with AM/PM

19 views
Skip to first unread message

CowBoE

unread,
Apr 21, 2010, 11:55:35 AM4/21/10
to SPElements (SharePoint Community)
"hh:mm" time format gives 24 hour time.

I would like to display it as 12 hour time with AM/PM indicator.

I've tried "hh:mm AM/PM" but didn't work.

Is 12 hour time format supported?

Thanks

--
You received this message because you are subscribed to the Google Groups "SPElements (SharePoint Community)" group.
To post to this group, send email to spc...@googlegroups.com.
To unsubscribe from this group, send email to spchart+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spchart?hl=en.

jcol...@mdmercy.com

unread,
Jul 9, 2014, 5:57:03 PM7/9/14
to spc...@googlegroups.com, hyo...@gmail.com
I know -- old thread. But I ended up here looking for the answer. I finally figured it out, so thought maybe it will help you, too.

Yes, 12 hour clock is supported. For me, that was the easy part. 

h:mm = 9:00 or 10:00, etc.
hh:mm = 09:00 or 10:00, etc.

Getting the am/pm designator is what stumped me. Finally found the answer at http://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx

h:mm t = 9:00 A or 9:00 P
h:mm tt = 9:00 AM or 9:00 PM

You can also remove the space between minutes and designator. 

Don't know how to make the am/pm lower case.

John
Reply all
Reply to author
Forward
0 new messages