cancel
Showing results for 
Search instead for 
Did you mean: 

Date Range Selection SAPUI5

Hello!

I am using Date Range Selecion control to select a period in format MM/yyyy - MM/yyyy. I have created entity in SEGW using type Edm.DateTime and ABAP type DATUM.

It depends on time zone, SAPUI5 is showing date subtracting 1 day (If i choose 01/01/2017 - 01/01/2017 it changes to 12/2016 - 12/2016).

I have tried to use "UTC: true" in formatOptions, but does not work. All other Date controls worked.

Appreciate any help.

Regards

Dinarte

Accepted Solutions (1)

Accepted Solutions (1)

SergioG_TX
Active Contributor
0 Kudos

most likely the date is utc (offset by your time zone) the reason you see a prev date is bc the date is 00 hours minus offset.

you can add the offset

Answers (0)