How can I get only date like 02/8/2013 mm/dd/yyyy from datefield in extjs 4.0 supported on all browser.
my code is as follows
items: [{
xtype: 'datefield',
fieldLabel: 'Date',
format: 'm/d/Y',
altFormats: 'm/d/Y',
},
and i am getting a value from this field like this
date = Ext.getCmp('configuration-section-contact-form-date-of-issue').getValue();
by using above line i get complete UTC time but I want only date like 02/8/2013.how can i get please help me. thanks..
You can use:
dateField.getSubmitValue();
See live example on jsfiddle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With