on 07-20-2016 4:45 AM
hi experts,
in datepicker
if i select any date it shows in format as 7/5/16(M/D/YY) in datepicker input can i show as 20160705(YYYYMMDD)
Hi madhu,
try this one
<DatePicker displayFormat ="yyyyMMdd" />
Thanks and Regards,
Srinivas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
new sap.ui.commons.DatePicker("date2",{
width: "10em",
value: {
path: "/dateValue",
type: new sap.ui.model.type.Date({pattern: "YYYYMMdd", strictParsing: true})
}
})
Try using pattern i hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try dusplayFormat ="long"
regards,
Chandan Kalita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.