Hi!
i receive date from GUI to Jquery file.
in one textbox contain date from datepicker .
Now my problem is hoe to convert string to Datetime format in jquery.
please send only correct format.
i am trying to so many options but no use.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Gohil JayendrasinhPosted Jun 27, 2015, 6:13 AM
Veerendra , I think you have language issue.
The date picker is designed to allow localizations to be easily created and used. Many localizations are already available, and additional ones are welcomed.
The date picker plugin maintains a manager object, $.datepicker, that lets you register new localizations. This object maintains an array of localization settings indexed by language, with '' accessing the default (English) version: $.datepicker.regional['fr'].
A new localization should be created in a separate JavaScript file named ui.datepicker-.js. Within a document.ready event it should add a new entry into the $.datepicker.regional array, indexed by the language code.
$('selector').datepicker($.datepicker.regional['' ]);
Like
// ui.datepicker-fr.js is in franch you can attached from following folder development-bundle/ui/bundle/i18n
$(function() {
$.datepicker.setDefaults($.datepicker.regional['fr']);
$("#StartDate").datepicker();
});
Upendra Pratap ShahiPosted Jun 24, 2015, 3:18 AM
Jaipal ReddyPosted Jun 24, 2015, 2:08 AM
Jaipal ReddyPosted Jun 24, 2015, 2:07 AM
Ramesh MaruthiPosted Jun 23, 2015, 10:59 AM
Munesh SharmaPosted Jun 23, 2015, 10:37 AM
Abhay ShankerPosted Jun 23, 2015, 10:11 AM
Lucky LaxmanPosted Jun 23, 2015, 7:07 AM