如何计算日期之间的小时数 [英] How to calculate hours between dates
本文介绍了如何计算日期之间的小时数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个包含开始日期和结束日期列的列表.现在我需要计算两个日期之间的小时数.请指导使用哪个公式.
I have list which has start-date and end-date column. now i need to calculate hours between two dates. pls guide which formula to use.
iffi
推荐答案
尝试一下
公式
= 24 *(StartTime-EndTime)
Formula
=24*(StartTime-EndTime)
,然后将列类型设置为带小数点后1位的数字.
and set the column type to Number with 1 decimal.
请参阅以下链接以供参考
see below link for reference
这篇关于如何计算日期之间的小时数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文