Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Calculate duration from DateTimeInput

$
0
0

Hi

 

I am using two sap.m.DateTimeInput controls for Begin and End Date of a trip. Now I want to calculate the duration of that trip based on the selected dates. The duration will be displayed on in a sap.m.Input.

 

Is there any possibility to start calculation and set the value in the input field after both dates have been selected by the user? Some kind of Listener?

 

Thank you very much

 

best regards,

 

Thomas Maier


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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