将十进制时间转换为常规时间 [英] Converting Decimal Time to Regular Time
本文介绍了将十进制时间转换为常规时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我需要一个格式函数来查询将转换:十进制时间到常规时间。
例如我的数据库存储8小时和15分钟为:8.25000008940697
现在我需要一个函数将其恢复到:8.15
非常感谢任何帮助。
解决方案
展开 | 选择 | Wrap | 行号
哇,漂亮好的。
现在,我需要总结这个领域,我遇到了问题。
当我保留它时,NUMBER格式会切断minuites,如果我保留了一个TEXT字段,我就不能做一个SUM Total。
再次感谢。
我想我发现了我的问题,但我看不出来解决它:
我的数据库记录为:6.08333333954215
这是:6小时和5分钟
当我运行你给我的功能它返回:
当我们确实需要它返回6.05
谢谢!
Hello,
I need a format function for a query that will Convert: Decimal Time to Regular Time.
For Example my Database stores 8 Hours and 15 Min as: 8.25000008940697
And now I need a function to bring it back to: 8.15
Any help is greatly appreciated.解决方案Expand|Select|Wrap|Line Numbers
Wow, pretty good.
Now, I need to sum this feild and I''m having issues with that.
When I keep it the feild a NUMBER format is cuts off the minuites and if I keep the feild a TEXT feild I can''t do a SUM Total.
Thanks Again.
I think I found my issue, But I can''t see to solve it:
My Database records it as :6.08333333954215
Which is: 6 Hours and 5 Minuites
When I run the function you gave me it returns:
6.5
When we really need it to return 6.05
Thanks!!
这篇关于将十进制时间转换为常规时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取
|
15天全站免登陆