Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

How do I display a time difference as hours and minutes vs. a decimal?

$
0
0

Here's what I'm working with:

 

 

Total1

=(((Time2Num(Arrive1.formattedValue, "h:MM A")-Time2Num(Start1.formattedValue,"h:MM A"))+(Time2Num(Arrive2.formattedValue, "h:MM A")-Time2Num(Depart1.formattedValue,"h:MM A"))+(Time2Num(Home1.formattedValue, "h:MM A")-Time2Num(Depart2.formattedValue,"h:MM A")))/((1000*60)/

60))

 

However, the total is displayed as 1.5, and I need it to be 1:30, for example. Thanks!


Viewing all articles
Browse latest Browse all 1160

Trending Articles



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