Hi, I use the date picker when choosing a date when the date is displayed in this format month / date / year .... How to convert the date to this format in the format year-month-date in the js date command itself
Date.firstDayOfWeek = 0; Date.format = 'yyyy-mm-dd'; $ (Function () {$ ('Date Choice'). Datepicker ()});
This will apply the date format for all date pickers created after:
$.datepicker.setDefaults({ dateFormat: 'dd.mm.yy' });
Or apply to a specific date:
$('#selector').datepicker({ dateFormat: 'dd.mm.yy' });
Source: https://habr.com/ru/post/1747945/More articles:Info form design Info - infopathFind the overload period? - c #How to select each node that contains the same identifier - jqueryUsing IKVM to convert JAR (Flying Saucer - xhtmlrenderer) - javaReplace text in code with count numbers - c #Installing Java 1.6 by default on Mac OS X 10.5.8 - javaPHPMyAdmin Query Runtime Different from MySQL Profiling Data - profilingChecking 64-bit binary code on windows - windowshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1747949/adding-values-to-a-dictionary-using-reflection&usg=ALkJrhiJrzk7Fto0c2-g0agcoQEDL-Fa1gDetect if an HTTP request is being executed from an asynchronous browser request / Flex? - flexAll Articles