Calculation of time. SmartForm

  • 5 May 2015
  • 1 reply
  • 1 view

Badge +4

Please help in the preparation of smart form, which contains the following fields .

 

 

Departure  Date and time 

Arrival Date and time

Time spent on the road:  Day, hour, minut

 

Example:

Departure:  3.5.2015 10:00 PM

Arival:  4.5.2015 11:15 PM

 

Time spent Result must be like:  1 Day, 1 Hour, 15 minuts.

 

 

Please help.


1 reply

Userlevel 1
Badge +8

Hi Bnose

 

I have attached a package that contains a view that calculates the days, hours and minutes between 2 date controls. This is done through the use of expressions to firstly calculate the time difference in minutes, and then use that to work out the days, hours and minutes.

Reply