![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
【Delphi DateUtils 单元】
日期相关函数
再创世纪
这个作者很懒,什么都没留下…
展开
-
IsLeapYear、IsInLeapYear - 是否是闰年
SysUtils.IsLeapYear(); DateUtils.IsInLeapYear(); unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = cl转载 2013-10-15 09:30:09 · 859 阅读 · 0 评论 -
Yesterday、Today、Tomorrow - 昨天、今天、明天
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs; type TForm1 = class(TForm) procedure FormCreate(Sender: TObject); end; va转载 2013-10-15 09:28:28 · 597 阅读 · 0 评论 -
DateUtils.IsPM - 判断时间是否是下午
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) procedure FormCreate(Sender: TObject);转载 2013-10-15 09:29:11 · 409 阅读 · 0 评论