today"
昨天
"昨天是:today.AddDays(-1))"
明天
"明天是:today.AddDays(1))"
一周前
"一周前是: today.AddDays(-7))"
五个月前
"五个月前:today.AddMonths(-5))"
十年之前
"十年之前:today.AddYears(-10).Year)年,我们是朋友."
日期格式化
"格式化日期:" + $today.ToString('yyyy-MM-dd')
2022-08-07 13:05:55
today"
"昨天是:today.AddDays(-1))"
"明天是:today.AddDays(1))"
"一周前是: today.AddDays(-7))"
"五个月前:today.AddMonths(-5))"
"十年之前:today.AddYears(-10).Year)年,我们是朋友."
"格式化日期:" + $today.ToString('yyyy-MM-dd')