小时差怎么自动计算,表达式应该怎么写?
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAvAAAABKCAYAAADdaGBAAAASlElEQVR4Ae2djY3tuA2Fp4NXTHpKT+kpxWwHExDBwZ7HlWzZlofSfd8CBsVfybo8FK2dbL7++uuv76Pn6+vrUH/ki+54b+/uT/wm39887MHzHADf1zAK9p7nHLj9fQ/B4DUM3j035QeGf88/8DhnPypw/KWk7tGKRfXWgvz/hY4CNAdwFK6vb/B9rXkAe2Bvdt0Ag9cw+LQPAMNgeDaGI14FjmngT/4NxNNi8YY/BYgCNKsAVRSdNzDxUzHBHtibhT3FAYM08MoF6L71pQLHNPA08Pw5zh/850gVReenmu035qGB3/eAXbU5AoM08KvmJusar3cVOKaBp4GngaeB53/nMlgHaODHDzQO/7G9qjj43/i43SUmGB7LS/B7bZ8qcEwDP3hwr1ScKEDXgEUh6u9XRdFZCUtX1wL2+rkEzu7tDRjkBh7s3MPOSvtWgWMaeBp4buC5gecGfrAO0MDvf9CudOjHWioO/qsfrp9kD4bB8Bs1oALHNPCDB/dKBYwCRAGaVYAqis5KWLq6FrAH9mZhT3HAIDfwygXovvWlAsc08DTw3MBzA88N/GAdoIHf94BdtTmqOPivfrh+kj0YBsNv1IIKHNPADx7cKxUwChAFaFYBqig6K2Hp6lrAHtibhT3FAYPcwCsXoPvWlwocDzXwsTAe9oAcIAfIAXKAHCAHyAFygBz4Zw5cvRB6aj/UwD+dBP+5NwwBHL7U2YMZORC5BD7H8Qn2wN0M3HkMMDiOvxm1CgyDYcffrHEFjmng+RMaPgb4G3ia+ME6wOHP4T/rwFecioN/RiO8awwwDIaFvZm0Asc08IMH90rFigJEAZpVeCqKzkpYuroWsAf2ZmFPccAgN/DKBei+9aUCxzTwNPDcwHMDzw38YB2ggd/3gF21Oao4+K9+uH6SPRgGw2/Uggoc08APHtwrFTAKEAVoVgGqKDorYenqWsAe2JuFPcUBg9zAKxeg+9aXChzTwNPAcwPPDTw38IN1gAZ+3wN21eao4uC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XRaOb2LDOyBvVnYUxwwyA28cgG6b32pwDENPA08N/DcwHMDP1gHaOD3PWBXbY4qDv5dPpjfWCcYBsNv1IIKHNPADx7cbxSSuzEpQBSgWQWooujczfsV/MAe2JuFPcUBg9zAKxeg+9aXChzTwNPAcwPPDTw38IN1gAZ+3wN21eao4uBf4WO4ag1gGAy/UQsqcEwDP3hwVxWb1rwUIArQrAJUUXRaOb2LDOyBvVnYUxwwyA28cgG6b32pwDENPA08N/DcwHMDP1gHaOD3PWBXbY4qDv5dPpjfWCcYBsNv1IIKHNPADx7cbxSSOzF//fr1Hf98ffGwB89zIHIpcopnbA/A3vOcA7e/7yEYHMPerBoFhn/PP/A4az++fvwibKiBjy8LnjX2IIoP/7AD7AA7wA6wA+wAO8AOrLED3MBvdht+5wb9qY9u4P/9r+9vHvaAHCAHyAFygBwgB8iB2hyggaeBP/1XMN7A/+e/X9887AE5QA6QA+QAOUAOkAM1ORAfTzTwNPA08HyU8FFGDpAD5AA5QA6QA5vkAA08zftp8x5/fjNyAx9fgkdf4q6Pce9RjJ4+y2UfNHTis5146WXvPpK5zd2x5huhd+fA7+/fm71gL8gBcoAcIAf+lByggaeBv93AjzS+PZssF+Bc7mPpM802zvtYfi7TOGgeSyZ5+LvMx9I51XxXZO7DmEOIHCAHyAFygBwgB3o5QANPA/+jDbwS0RtjyYK63Mdu42PZtGjIWo/85aN53dZlshd1vyw70sk2aMvO9Ywp2uQAOUAOkAPkADnQywEaeBr4H2vgvWmNce9Rsrq9ZJnKpkUlcx/JREPnY/FZ5vLQ+SOd0xjr6cWSHvr3XrEX7AU5QA6QA+QAOXCeAzTwNPCPGnhvZHtjB6KaWVHX5fFVG58/Yjnv4yOd2/XGWqf0ipep9CNUMaHnRYs9Yo/IAXKAHCAH/vQcqGrg/wf56dsoQ1oDdQAAAABJRU5ErkJggg==我想用修复时间减掉故障时间,月日时相减得到小时数。计算小时差可以用日期与时间函数的HourOfTheYear<时间戳>。示例:HourOfTheYear(时间戳("2020/3/26 16:55:23")) ,用途:返回从指定日期时间值中 那一年第一天0点到指定日期的那个小时已经度过的小时数, 返回值类型: 数值
表达式可以这样写 HourOfTheYear<本表单.修复时间>- HourOfTheYear<本表单.故障时间>
返回的是整数,怎么可以做成3.5小时,变成小数呢?例如3小时40分,计算后是3.67小时呢?? 返回的是整数,怎么可以做成3.5小时,变成小数呢?例如3小时40分,计算后是3.67小时呢?? 试试这个计算公式:
页:
[1]