I'm working on a scheduling tool and I need to run a variety of time calculations. It's hard to explain all the nitty gritty details, but at a high level I'm doing a lot of back and forth conversion between decimals and time. I'm wondering what your thoughts are...do you try to do your math directly on Time fields or is it just as simple to use decimals?
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Label
[/TD]
[TD]Data
[/TD]
[TD]Data Format
[/TD]
[TD]Formula
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (as fraction of 24 hours)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]0.6270
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=NOW()-TODAY()
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (hours)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]15.0474
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=B2*24
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (whole hours)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]15
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=LEFT(B3,FIND(".",B3)-1)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (minutes)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]2.8457
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=MID(B3,FIND(".",B3),10)*60
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (whole minutes)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]2
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=LEFT(B5,FIND(".",B5)-1)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (seconds)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]50.7400
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=MID(B5,FIND(".",B5),10)*60
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (whole seconds)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]50
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=LEFT(B7,FIND(".",B7)-1)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (re-constructed)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]3:02:50 PM
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Time
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=TIME(B4,B6,B8)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]end of day (4:45 PM)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]4:45 PM
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Time
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]4:45 PM
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]11
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]end of day (4:45 PM as fraction of 24 hours)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]0.6979
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=(16+0.75)/24
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]remaining time (hours)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]1.7026
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=(B11-B2)*24
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]13
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]remaining time (minutes)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]42.1543
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=MID(B12,FIND(".",B12),10)*60
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]14
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]remaining time (seconds)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]9.2600
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=MID(B13,FIND(".",B13),10)*60
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Label
[/TD]
[TD]Data
[/TD]
[TD]Data Format
[/TD]
[TD]Formula
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (as fraction of 24 hours)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]0.6270
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=NOW()-TODAY()
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (hours)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]15.0474
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=B2*24
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (whole hours)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]15
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=LEFT(B3,FIND(".",B3)-1)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (minutes)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]2.8457
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=MID(B3,FIND(".",B3),10)*60
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (whole minutes)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]2
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=LEFT(B5,FIND(".",B5)-1)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (seconds)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]50.7400
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=MID(B5,FIND(".",B5),10)*60
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (whole seconds)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]50
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=LEFT(B7,FIND(".",B7)-1)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]current time (re-constructed)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]3:02:50 PM
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Time
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=TIME(B4,B6,B8)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]end of day (4:45 PM)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]4:45 PM
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Time
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]4:45 PM
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]11
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]end of day (4:45 PM as fraction of 24 hours)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]0.6979
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=(16+0.75)/24
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]remaining time (hours)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]1.7026
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=(B11-B2)*24
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]13
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]remaining time (minutes)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]42.1543
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=MID(B12,FIND(".",B12),10)*60
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]14
[/TD]
[TD]
[TABLE="width: 235"]
<tbody>[TR]
[TD]remaining time (seconds)
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 85"]
<tbody>[TR]
[TD]9.2600
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 84"]
<tbody>[TR]
[TD]Number
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
[TABLE="width: 192"]
<tbody>[TR]
[TD]=MID(B13,FIND(".",B13),10)*60
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]