0

12 hour time format [closed]

asked 2014-10-10 22:14:31 +0800

GCS gravatar image GCS
1

The time format displayed in the Calendar is always in 24 hour format. Is it possible to display it in 12 hour (AM/PM) format?

delete flag offensive retag edit

The question has been closed for the following reason "the question is answered, right answer was accepted" by Senthilchettyin
close date 2015-03-02 07:13:29

4 Answers

Sort by ยป oldest newest most voted
0

answered 2014-10-11 11:52:48 +0800

Darksu gravatar image Darksu
1991 1 4

Hello GCS,

At the following url there are many examples regarding the date and time picker:

http://www.zkoss.org/zkdemo/input/dateandtime_picker

To answer your question i believe you need the following:

<datebox id="db4" cols="12" format="long+medium" onCreate="self.value = new Date()" width="230px" />

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2014-10-13 02:12:51 +0800

GCS gravatar image GCS
1

Thanks for the quick response. If I'm not mistaken, you are referring to date time picker (picking a date/time field). However, we are looking to change the way the time is displayed on the actual calendar when you are looking at it by day, week or month.

I wish I could enclose a screen shot, but unfortunately I don't have the Karma points needed...

link publish delete flag offensive edit
0

answered 2015-02-26 14:57:57 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...

Are you asking in ZK Calender as in this link

If yes, i am also looking for the same solution .

link publish delete flag offensive edit
0

answered 2015-03-02 07:13:18 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...

Here is the solution

link publish delete flag offensive edit

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-10-10 22:14:31 +0800

Seen: 27 times

Last updated: Mar 02 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More