Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Time Conversion in SAP UI5


Good morning All,

I am getting the Flight data from Odata service. Up to here Its fine.

Departure time and Arrival time fields are getting time values  but i would like see the time format like 7.50pm or 7.50am.

As of now  I am getting the values as below as :

Departure time      Arrival Time

PT09H00M00S     PT17H21M00S

How to convert the Time format .Please let me know.

Flight.png (127026 B)
Not what you were looking for? View more on this topic or Ask a question