【求助】:请指教,foxtable 哪一日期函数可以获取上一月的天数呢?
Dim year As Integer = Date.today.year '年Dim month As Integer = Date.today.month '月'得到上一个月的天数Dim Perdays As Integer = Date.DaysInMonth(Date.today.year, Date.today.month).AddMonths(-1)
这样写是不对的。各位大虾请指点。