Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8372

DatePicker

$
0
0

Hi Everyone,

 

     I want to format the date that is being displayed in the alert box. My code is here:

 

View:

 

 

Controller:

Output:

 

 

  In the above, I would like to see the date as "Mar 10, 2016" instead of "3/10/2016". Could anybody tell me what is the further coding I have to do (like using .format() function) to add to my previous code in the controller. I see some examples are there in SAPUI5 explored with "Data Binding" options. But I want some code to change it without using binding.

 

Thanks and Regards,

Teja.


Viewing all articles
Browse latest Browse all 8372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>