Using Time Zones and UTC time

From Planimate Knowledge Base
Revision as of 10:45, 10 January 2008 by Rick (talk | contribs) (Importing text file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Added time-system attribute "Time Zone Correction (Minutes)" which may
be used to adjust calendar times for the local time zone. The idea is
that the internal calendar times/offsets are set in UTC then this variable
can be used to shift the displayed (and entered) times from UTC to the
local timezone.


The value can be changed during a run, upon the next redraw all table and
item calendar times will be displayed with the new offset. NOTE: The
internal value does NOT change, its an offset applied at the TimeToString
and StringToTime level.


Example Values: +570 (Adelaide Time), +630 (Adelaide Daylight Time)


NOTE: If importing data or reading TCP/IP tuples with formatted times,
then the current TimeZone will be applied in converting the times to
seconds from the current time reference that the model stores internally.


As well as being a system attribute the timezone can be specified manually in the Display->Time Field Format time dialog or Run Start Date dialoge.


idkbase note 85