📜  vba 添加月份至今 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:53.542000             🧑  作者: Mango

代码示例1
MsgBox DateAdd("m", 1, "1995-01-31")         ' 1995-02-28
MsgBox DateAdd("m", -2, "1995-01-31")        ' 1994-11-30
MsgBox DateAdd("yyyy", 2, "1995-01-31")      ' 1997-01-31