jQuery UI Widgets Forums Editors DateTimeInput getDate in 24 HR format

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 1 year, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • getDate in 24 HR format #102085

    CXXXV
    Participant

    Is there a way to invoke getdate to return value in 24HR format. I don’t mean the display. In order to properly store the value in DB it must be in correct format.

    getDate in 24 HR format #102100

    Martin
    Participant

    Hello CXXXV,

    The jqxDateTimeInput’s “getDate” method returns JavaScript Date Object so you can use this object to convert it to 24HR format yourself.
    For example, using “getHours” method.
    Here is an Example.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.