天道酬勤,学无止境

DecodeDate

DecodeDate、DecodeTime ... DecodeDateTime ... 分解时间

DecodeDate、DecodeTime ... DecodeDateTime ... 分解时间 SysUtils.DecodeDate(); SysUtils.DecodeDateFully(); SysUtils.DecodeTime(); DateUtils.DecodeDateTime(); DateUtils.DecodeDateDay(); DateUtils.DecodeDateWeek(); DateUtils.DecodeDateMonthWeek(); DateUtils.DecodeDayOfWeekInMonth(); unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) procedure FormCreate(Sender: TObject); end; var Form1: TForm1; implementation {$R *.dfm} uses DateUtils; procedure TForm1.FormCreate(Sender: TObject); var t: TDateTime; Year

2021-05-19 02:40:15    分类:博客    DecodeDate   时间操作

EncodeDateTime ... TryEncodeDateTime ... 构建时间

EncodeDateTime ... TryEncodeDateTime ... 构建时间 SysUtils.EncodeDateTime SysUtils.EncodeDate SysUtils.EncodeTime DateUtils.EncodeDateDay DateUtils.EncodeDateMonthWeek DateUtils.EncodeDateTime DateUtils.EncodeDateWeek DateUtils.EncodeDayOfWeekInMonth DateUtils.TryEncodeDateTime DateUtils.TryEncodeDateDay DateUtils.TryEncodeDateWeek DateUtils.TryEncodeDateMonthWeek DateUtils.TryEncodeDayOfWeekInMonth unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; procedure FormCreate(Sender: TObject)

2021-05-19 02:40:06    分类:博客    DecodeDate   时间操作