 <p>Use:</p> <pre><code>Ext.Date.format(timestampDate ,'Y-m-d H:i:s') </code></pre> <ul> <li><code>Y</code> - A full numeric representation of a year, 4 digits.</li> <li><code>m</code> - Numeric representation of a month, with leading zeros.</li> <li><code>H</code> - 24-hour format of an hour with leading zeros.</li> <li><code>i</code> - Minutes, with leading zeros</li> <li><code>s</code> - Seconds, with leading zeros</li> </ul> <p><a href="http://docs.sencha.com/extjs/6.0.2-classic/Ext.Date.html" rel="nofollow">http://docs.sencha.com/extjs/6.0.2-classic/Ext.Date.html</a></p>