To change the other
datetime-related values in your staged tables from UTC to local time,
change the expressions for those datetime-related computed columns
in your staged tables. To do so, change the computed column expression
from <datetime-related variableName>
+ 0
to <datetime-related variableName>
+ GMT offset
. For example, to adjust the CREATETIME variable
in the Events staged table from UTC to Eastern Daylight Time during
staging, change the computed column expression from CREATETIME
+ 0;
to CREATETIME - 14400
.
Note: In SAS statements, expressions
that contain a subtraction function should not end with a semicolon.
Note: If you modify any one of
the datetime-related columns to be adjusted with a GMT offset, then
all of the datetime-related columns in your staged tables should be
adjusted with the same GMT offset.
The following list
shows the datetime-related values that can be changed for each type
of VMware staged table:
-
All VMware staged tables - DATETIME
variable
-
EVENTS staged table - CREATETIME
-
TASKS staged table - QUEUETIME,
STARTTIME, COMPLETETIME