Reputation: 41
I am using a datefield with y/m/d format. When I call getSubmitData() method on this datefield it returns me the date value like ‘14/05/16’. Is there any way to convert this value to ‘20140516’.If i give the format as ymd, it shows me the selected date in the datefield in 140516 format,which i want to be shown as 2014/05/16.Any help is highly appreciated.Thanks
Upvotes: 1
Views: 9175