Excel vba 里的日期加减函数是? - ExcelVBA程序开发 - Excel H...

温柔似野鬼°
977次浏览
2020年12月24日 23:02
最佳经验
本文由作者推荐

电视新闻节目-送礼

2020年12月24日发(作者:郑绪岚)


Excel vba 里的日期加减函数是? - ExcelVBA程序开发 -
Excel H...

Returns a Variant (Long) specifying the number of time
intervals between two specified dates.
Syntax
DateDiff(interval, date1, date2[, firstdayofweek[,
firstweekofyear]])
The DateDiff function syntax has these named arguments:Part
Description


interval
Required. String expression that is the interval of time you use
to calculate the difference between date1 and date2.


date1, date2
Required; Variant (Date). Two dates you want to use in the
calculation.


firstdayofweek
Optional. A constant that specifies the first day of the week. If
not specified, Sunday is assumed.


firstweekofyear
Optional. A constant that specifies the first week of the year. If
not specified, the first week is assumed to be the week in which
January 1 occurs.

啤酒鸭火锅的做法-超右脑


中国十大跑步机品牌-dj公主


email营销-办公文档


郑州婚宴-电视机品牌排名


半夜醒来睡不着-打靶打一成语


杨子浩qq-那么简单


季度报表-门槛精


字条-卸磨杀驴