Solved

Using Jquery EasyUI DatePicker with 12-Hour Time Instead of Military

Posted on 2014-10-13
3
737 Views
Last Modified: 2014-10-18
I came across this example which works but the timespinner still is not in 12-hour format (if you press up and the hour is 12, the next is 13)...

http://www.jeasyui.com/forum/index.php?topic=1768.0

How do I make the timespinner work in 12-hour format as well..

Please advise
0
Comment
Question by:Mark
  • 2
3 Comments
 
LVL 25

Expert Comment

by:lenamtl
ID: 40380455
Hi,

If you need a ready solution

I'm using this plugin for time that have 12h format AM | PM
http://amsul.ca/pickadate.js/
0
 

Author Comment

by:Mark
ID: 40380509
Is there a solution that combines the date & time in one click?
0
 
LVL 25

Accepted Solution

by:
lenamtl earned 500 total points
ID: 40382069
Try this one (see second example)
http://tarruda.github.io/bootstrap-datetimepicker/

One click
2 options that open in a drawer one for the calendar (icon) and one for the time (icon)
and AM/PM selector for the time

There is another one that you may like
http://www.ama3.com/anytime/
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question