Skip to Content
0
Former Member
Apr 01, 2015 at 10:16 AM

how to set dateformat to dd.mm.yyyy in sap.m.DatePicker

9345 Views

Hello,

I have added datePicker in xmlview like <DatePicker valueFormat="dd.mm.yyyy" displayFormat="dd.mm.yyyy"/>. Everytime I select a date from datePicker the display would be with month '00'. Eg. for 01.04.2015 it displays as 01.00.2015.

Please let me know how to have dd.mm.yyyy format display when user selects a date from DatePicker.

Thanks,

Rashmi