Solved

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

Posted on 2014-10-13
3
701 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 24

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 24

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

776 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