摘要:
uses DateUtils;添加引用用函数IncMiliSecond, IncMinute, IncDay, IncMonth, IncYear, IncWeek等实现当前日期时间加上指定日期时间如svalidate.Date:=incyear(date,3);表示在当前日期上加上3年 阅读全文
摘要:
function StartOfTheYear(const AValue: TDateTime): TDateTime;function EndOfTheYear(const AValue: TDateTime): TDateTime;function StartOfAYear(const AYear: Word): TDateTime;function EndOfAYear(const AYear: Word): TDateTime;function StartOfTheMonth(const AValue: TDateTime): TDateTime;function EndOfTheMo 阅读全文