获取系统时间:new()、today() 注:today()输出不含时间
转换日期格式:.ToShortDateString
转换时间格式:.ToShortTimeString
按照格式输出:.ToString(“yyyy-MM-dd”) 注:可自定格式
增加天数:.AddDays()
获取年份:.Year
获取月份:.Month
获取日数:.Day
获取系统时间:new()、today() 注:today()输出不含时间
转换日期格式:.ToShortDateString
转换时间格式:.ToShortTimeString
按照格式输出:.ToString(“yyyy-MM-dd”) 注:可自定格式
增加天数:.AddDays()
获取年份:.Year
获取月份:.Month
获取日数:.Day