| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
(Under construction.)
type
TimeStamp = {@@packed} record
DateValid,
TimeValid : Boolean;
Year : Integer;
Month : 1 .. 12;
Day : 1 .. 31;
DayOfWeek : 0 .. 6; { 0 means Sunday }
Hour : 0 .. 23;
Minute : 0 .. 59;
Second : 0 .. 61; { to allow for leap seconds }
MicroSecond: 0 .. 999999;
TimeZone : Integer; { in seconds }
DST : Boolean;
TZName1,
TZName2 : String (32);
end;
|
(@@ Currently, in GPC, TimeStamp is not actually packed.)
The fields `DateValid', `TimeValid', `Year', `Month', `Day', `Hour', `Minute', `Second' are required by Extended Pascal, the other ones are extensions.