反馈已提交
网络繁忙
Date function is widely used in daily work and life. It is particularly important to add or subtract the specified time interval from the date.
At present, the use of some date functions is provided. See date function for more details.
However, sometimes it is necessary to obtain "the date of n (hours / minutes / seconds) after the specified date". How to deal with it?
Combine function TODATE and DATETONUMBER to calculate.
Create a self-service dataset. Take the current time now() = 「2021-07-27 14:11:16」" as an example, and use "add field" to obtain the date values after 2 hours, 2 minutes and 2 seconds respectively. The formula is shown in the following figure:
Similarly: add the field "after 2 hours, after 2 minutes, after 2 seconds", and the formulas are as follows:
Formula interpretation:
=TODATE(DATETONUMBER(A1)+ N *1000)
Note: the fields in the formula need to be selected from the field box on the left and cannot be entered manually.
Save the self-service dataset, the effect is as shown in the following figure:
售前咨询电话
400-811-8890转1
在线技术支持
在线QQ:800049425
热线电话:400-811-8890转2
总裁办24H投诉
热线电话:173-1278-1526
文 档反 馈
鼠标选中内容,快速反馈问题
鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。
不再提示
10s后关闭