當前位置:編程學習大全網 - 網站源碼 - timestamp data是什麽類型數據,在delphi中怎樣把它插入

timestamp data是什麽類型數據,在delphi中怎樣把它插入

是壹個記錄類型,參考:

TTimeStamp represents time and date values.

Unit

SysUtils

Delphi syntax:

type

TTimeStamp = record

Time: Integer;

Date: Integer;

end;

C++ syntax:

struct TTimeStamp

{

int Time;

int Date;

} ;

Description

Use TTimeStamp to represent date and time values when a great deal of accuracy is required for the time portion. When the time values do not need to be precise to the millisecond, use the more compact TDateTime representation. If additional precision is needed, use TSQLTimeStamp (but do NOT assign it to a Variant).

The Time field species the number of milliseconds that have elapsed since midnight.

The Data field indicates the number of calendar days since the start of the calendar (the number of days since 1/1/0001 plus one).

  • 上一篇:fil礦機分布在加拿大哪個地區
  • 下一篇:如何讓webstorm識別php代碼?有插件嗎?
  • copyright 2024編程學習大全網