JavaScript
Run Code
Open in Fiddle
Ext.application({ name: 'DateTimeField', launch : function() { Ext.create('Ext.form.Panel',{ title: 'Testing', border: false, bodyPadding: 10, width: 300, height: 300, items: [{ xtype: 'datetimefield', fieldLabel : 'Label', format : 'm/d/Y H:i' }], renderTo: Ext.getBody() }) } });