I am using EXT JS to build a form that allows for user input. One of the fields is a datefield, when the form is submitted I would like the value being sent over HTTP to be the "long" value (or milliseconds) representation of the date, instead of the normal: 'dd/mm/yyyy' format.
I've searched A LOT and cannot find any answers.
Thanks.
You can configure the format of the datefield's submitted date value using its submitFormat
config. Try:
submitFormat: 'U000'
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