如何计算完成时间 [英] How to calculate a finish time

查看:203
本文介绍了如何计算完成时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一本杂志每小时可以打印2000份。因此,如果我的开始日期为28/05/10,开始时间为18:30,并且希望生成3000份,我希望在完成日期返回28/05/10,在完成时间返回20:00作为估计完成时间。任何人都可以就此提出建议。

I have a magazine that prints 2000 copies an hour. Therefore if i have a start date of 28/05/10 and start time of 18:30 and wish to produce 3000 copies I want to return 28/05/10 in the finish date and 20:00 in the finish time as an estimate of the finish time. Can anyone advice me on this.

推荐答案

@ jacc14
@jacc14
  1. 创建一个公共函数来完成工作:
  1. Create a Public Function to do the work:
展开 | 选择 | Wrap | 行号


@ADezii


您好,谢谢。不幸的是,我不得不拆分日期和时间字段,因为用户需要放入时间,我也不希望他每次都输入日期。这可能吗?因此我有4个字段。


开始日期开始时间结束日期结束时间。


我希望我的结果发布到最后2个字段使用每小时的复制数和开始日期和时间


最好的问候

Christine
@ADezii
Hi thank you for this. unfortunately i have had to split out the date and time fields as the user is required to put in times and i dont want him to enter a date everytime as well . Would this be possible. I therefore have 4 fields.

start date start time finish date finish time.

I would want my results posting to the last 2 fields using the no of copies per hour and start date and time

Best regards
Christine


@ jacc14
@jacc14
  1. Hello Christine,是否会出现开始日期和结束日期不同的情况?
  2. Time Differential会不会跨越Midnight?


这篇关于如何计算完成时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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