<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>AUI Date picker date format</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113903142" />
  <subtitle>AUI Date picker date format</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113903142</id>
  <updated>2026-04-07T19:08:38Z</updated>
  <dc:date>2026-04-07T19:08:38Z</dc:date>
  <entry>
    <title>RE: AUI Date picker date format</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113903487" />
    <author>
      <name>Yan Paing</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113903487</id>
    <updated>2019-06-05T05:02:49Z</updated>
    <published>2019-06-05T05:02:49Z</published>
    <summary type="html">I found it and 4 digit year number should put as %G in aui date picker script.&lt;a href="https://alloyui.com/api/modules/datatype-date-format.html"&gt;https://alloyui.com/api/modules/datatype-date-format.html&lt;/a&gt;&lt;br /&gt;&lt;a href="https://alloyui.com/api/files/yui3_src_date_js_date-format.js.html#l34"&gt;https://alloyui.com/api/files/yui3_src_date_js_date-format.js.html#l34&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;aui:script&amp;gt;&lt;br /&gt;AUI().use(&amp;#39;aui-datepicker&amp;#39;, function(A) {&lt;br /&gt;new A.DatePicker({&lt;br /&gt;trigger : &amp;#39;#&amp;lt;portlet:namespace/&amp;gt;datepicker&amp;#39;,&lt;br /&gt;mask: &amp;#39;%d/%m/%G&amp;#39;,&lt;br /&gt;popover : {&lt;br /&gt;zIndex : 1&lt;br /&gt;}&lt;br /&gt;});&lt;br /&gt;});&lt;br /&gt;&amp;lt;/aui:script&amp;gt;</summary>
    <dc:creator>Yan Paing</dc:creator>
    <dc:date>2019-06-05T05:02:49Z</dc:date>
  </entry>
  <entry>
    <title>AUI Date picker date format</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113903141" />
    <author>
      <name>Yan Paing</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113903141</id>
    <updated>2019-06-05T04:37:23Z</updated>
    <published>2019-06-05T04:37:23Z</published>
    <summary type="html">Dear All,My requirement is date format should be dd/MM/yyyy, i tried to setup from aui date picker mask value with difference variable (eg. %d/%m/%yyyy,%d/%m/%y%y, etc) but whenever i select from date picker then the format is showing only dd/MM/yy. I tried to look for aui document (&lt;a href="https://alloyui.com/api/classes/A.DatePicker.html#attr_mask"&gt;https://alloyui.com/api/classes/A.DatePicker.html#attr_mask&lt;/a&gt;) it doesn&amp;#39;t include the information i required. Please sugest which variable should i put to get yyyy. Thank you &lt;br /&gt;AUI().use(&amp;#39;aui-datepicker&amp;#39;, function(A) {&lt;br /&gt;new A.DatePicker({&lt;br /&gt;trigger : &amp;#39;#&amp;lt;portlet:namespace/&amp;gt;datepicker&amp;#39;,&lt;br /&gt;mask: &amp;#39;%d/%m/%y&amp;#39;,&lt;br /&gt;popover : {&lt;br /&gt;zIndex : 1</summary>
    <dc:creator>Yan Paing</dc:creator>
    <dc:date>2019-06-05T04:37:23Z</dc:date>
  </entry>
</feed>
