如何在MS Access 2003中平均时间 [英] How to Average time in MS Access 2003

查看:85
本文介绍了如何在MS Access 2003中平均时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要输入的平均时间数据。我在查询中需要做什么?

I need to Average time data that has been entered. What do I need to do in the query?

推荐答案

使用平均函数:Avg()。
Use the average function: Avg().


我知道。但是当我平均日期/时间条目时,我得到一个非常低的数字(0.291666666666667)。我需要在标准中加入正确的内容吗?
I know that. But when I Avg date/time entries I get a very low number (0.291666666666667). is there something I need to put in the criteria to make it show correctly?


使用CDate()将数字转换为日期时间值。
Use CDate() to convert the number to a date time value.


这篇关于如何在MS Access 2003中平均时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆