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

Re: Date conversion format

$
0
0

This is what I am doing in my code:

 

Declaration:

<DatePicker change="handleChange" id="DateIN" placeholder="Enter Date ..." valueFormat="MM/dd/yyyy" width="220px"/>

 

Code from function where I am trying to get date format i.e. required from my Service:





var DateIN = new Date(sap.ui.getCore().byId(this.getView().getId() + "--DateIN").getValue());
DateIN.setDate(DateIN.getDate())

 

 

 

 

 

 

Thanks,
Naveen


Viewing all articles
Browse latest Browse all 9069

Trending Articles