获取本月第一天和最后一天的最简单的写法
// FirstDay,LastDay:TDateTime;
....
FirstDay := StrToDate(FormatDateTime('yyyy-MM-01', Now))
LastDay := IncMonth(FirstDay)-1;
....
获取本月第一天和最后一天的最简单的写法
阅读 150
2022-10-24
获取本月第一天和最后一天的最简单的写法
// FirstDay,LastDay:TDateTime;
....
FirstDay := StrToDate(FormatDateTime('yyyy-MM-01', Now))
LastDay := IncMonth(FirstDay)-1;
....
相关推荐
精彩评论(0)