1)Overview
Returns the number of days, months, or years between two specified days.
Note: 5.1.12 and later returns the difference between end_date and start_date, or a negative value if it is negative.
Indicates the initial date of the specified period. Only text and date types are supported.
Can be a series number in 1900, for example, 35796 is 1998-01-01.
Indicates the end date of the specified period. Only text and date types are supported.
The type of information returned by the function.
If unit= "Y/y", return the annual difference;
If unit= "M/m", return the monthly difference;
If unit= "D/d", return the day difference;
If unit= "MD/md", the year and month are ignored and the day difference is returned;
If unit= "YM/ym", the year and day are ignored and the month difference is returned;
If unit= "YD/yd", the year is ignored and the day difference is returned
2)Precautions
Supports three parameters, the previous two date or text type parameters, and the third requires text.
The third parameter supports Y, M, D, MD, YM, YD and is case insensitive.
3)Example
That is 1,116 days between February 28, 2001 and March 20, 2004.
If unit= "YD/yd", the year is ignored and the day difference is returned.
2)Precaution
Three parameters are supported, the first and second are date or text type parameters, and the third is text type parameter.
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy