当前月
DateSerial(Year(Date()), Month(Date()), 1)
下月
DateSerial(Year(Date()), Month(Date()) + 1, 1)
当月的最后一天
DateSerial(Year(Date()), Month(Date()) + 1, 0)
下个月的最后一天
DateSerial(Year(Date()), Month(Date()) + 2, 0)
上个月的第一天
DateSerial(Year(Date()), Month(Date())-1,1)
上个月的最后一天
DateSerial(Year(Date()), Month(Date()),0)
本季度的第一天
DateSerial(Year(Date()), Int((Month(Date()) - 1) / 3) * 3 + 1, 1)
本季度的最后一天
DateSerial(Year(Date()), Int((Month(Date()) - 1) / 3) * 3 + 4, 0)
假设星期日 = 第 1 天 (一周的第一天)
Date() - WeekDay(Date()) + 1
本周的最后一天
Date() - WeekDay(Date()) + 7