jQuery UI Datepicker dateFormat Option Last Updated : 23 Feb, 2021 Summarize Comments Improve Suggest changes Share Like Article Like Report jQuery UI consists of GUI widgets, visual effects, and themes implemented using jQuery, CSS, and HTML. jQuery UI is great for building UI interfaces for the webpages. jQuery UI Datepickers widget allow users to enter dates easily and visually. In this article, we will see how to use the dateFormat option in jQuery UI Datepicker. The dateFormat option is used to set the format of date in the jQuery UI Datepicker. Syntax: $(".selector").datepicker( {dateFormat : 'yy/dd/mm'} ); CDN Link: First, add jQuery UI scripts needed for your project. <link href = "https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel = "stylesheet"> <script src = "https://code.jquery.com/jquery-1.10.2.js"></script> <script src = "https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> Example: HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <link href= "https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel="stylesheet"/> <script src= "https://code.jquery.com/jquery-1.10.2.js"> </script> <script src= "https://code.jquery.com/ui/1.10.4/jquery-ui.js"> </script> <!-- JavaScript --> <script> $(function () { $("#gfg").datepicker({ dateFormat: "yy/dd/mm" }); }); </script> </head> <h1>GeeksforGeeks</h1> <h3>jQuery UI | datepicker dateFormat option</h3> <body> <!-- HTML --> <p>Enter Date: <input type="text" id="gfg" /></p> </body> </html> Output: Reference: https://api.jqueryui.com/datepicker/#option-dateFormat Comment More infoAdvertise with us Next Article jQuery UI Datepicker dateFormat Option T taran910 Follow Improve Article Tags : JavaScript Web Technologies HTML JQuery jQuery-UI +1 More Similar Reads jQuery UI Datepicker altFormat Option jQuery UI consists of GUI widgets, visual effects, and themes implemented using jQuery, CSS, and HTML. jQuery UI is great for building UI interfaces for the webpages. jQuery UI Datepickers widget allow users to enter dates easily and visually. In this article, we will see how to use the altFormat op 1 min read jQuery UI Datepicker appendText Option jQuery UI consists of GUI widgets, visual effects, and themes implemented using jQuery, CSS, and HTML. jQuery UI is great for building UI interfaces for the webpages. jQueryUI Datepickers widget in jQueryUI allow users to enter dates easily and visually. In this article we will see how to use append 1 min read jQuery UI Datepicker altField Option jQuery UI consists of GUI widgets, visual effects, and themes implemented using jQuery, CSS, and HTML. jQuery UI is great for building UI interfaces for the webpages. jQuery UI datepickers widget allow users to enter dates easily and visually. In this article, we will see how to use altField option 1 min read jQuery UI Datepicker autoSize Option jQuery UI consists of GUI widgets, visual effects, and themes implemented using jQuery, CSS, and HTML. jQuery UI is great for building UI interfaces for the webpages. jQueryUI Datepickers widget in jQueryUI allow users to enter dates easily and visually. In this article we will see how to use autoSi 2 min read jQuery UI Datepicker beforeShowDay Option The jQuery UI beforeShowDay is an option in Datepicker. By using this option we can call any function by using each day. This is executed before showing the calendar. We donât want some days to be selected by users (say all tickets for that day is sold-out) then we can apply this option and disable 4 min read Like