From GridLAB-D Wiki
Jump to: navigation, search

TIMESTAMP - Global time data container

Synopsis

typedef int64 TIMESTAMP;

NEVER

The value of NEVER is a very large positive integer.

INVALID

The value of INVALID is -1;

ZERO

The value of ZERO is 0 and represents an uninitialized value.

INIT

The value of INIT is 0 and represents an uninitialized value.

Remarks

The TIMESTAMP structure is used to store globals times. Global times are always stored in seconds since January 1, 1970 00:00:00 UTC. Local times stored in DATETIME structures are different from global times because local times consider timezone and daylight-savings/summer time offsets.

See also