jQuery UI Widgets Forums Editors DateTimeInput DateTimeInput problem in IE


This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • DateTimeInput problem in IE #24558



    I have set date format in format string

    $(“#dateTimeInput”).jqxDateTimeInput({ width: ‘235px’, height: ’25px’, theme: theme, formatString: ‘dd-MMM-yyyy HH:mm’ });

    and i returned date object with:


    It is giving me correct date in firefox , in the format which i require

    ” Date {Fri Jul 05 2013 12:31:00 GMT+0530 (India Standard Time)} ”

    but for the same in IE it returns date in this format :
    ” Fri Jul 5 12:31:00 UTC+0530 2013 ”

    Why it is returning the different values for the same object in firefox and IE?

    please tell me how will i get the date in this ( ” Date {Fri Jul 05 2013 12:31:00 GMT+0530 (India Standard Time)} ”  )format in IE also?

    Thanks & Regards,




    DateTimeInput problem in IE #24566

    Peter Stoev


    getDate() returns a JavaScript Date object, not a String and the implementation of toString() implementation of a JavaScript Date object is not necessary to be the same in the different browsers. You can learn more about the JavaScript Date Object here: http://www.w3schools.com/jsref/jsref_obj_date.asp. If you want to get the displayed String from the input, use getText() method instead.

    Best Regards,
    Peter Stoev

    jQWidgets Team

    • This reply was modified 10 years, 10 months ago by  Peter Stoev.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.