cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Table Date field format as MM/DD/YYYY

Former Member

Hi,

I am creating a smart table in controller js and mapping the Entityset dynamically.

My Entity has various properties including date fields. Using annotations, I added sap-display-format="Date" to display the date without Time . But it displays the date in "Jan 1, 2015" format. How can i add a formatter to display the date field in MM/DD/YYYY format in the UI.

Thanks,

Siva

Accepted Solutions (0)

Answers (2)

Answers (2)

rpalotai
Participant
0 Kudos

Use sap:display-format="Date" format, it will work!

Br

Richard Palotai

Former Member
0 Kudos

Hi Siva,

You can make use of formatter functionality for your requirement. Take a look at SAPUI5 Explored

Regards,

Srinivasan