Environment Variables
Contents
|
|
Related Links
|
Overview
Environment Variables are variables that correspond to Prepar3D's world simulation. These variables can be referenced by using the E: prefix.To use an environment variable, precede it with E:<Variable>, for example:
E:ABSOLUTE TIME
Available Environment Variables
The list of available environment variables is as follows:
Variable | Description | Units | Settable | Multiplayer |
---|---|---|---|---|
ABSOLUTE TIME | Time, as referenced from 12:00 AM January 1, 0000 | Seconds | N | - |
ZULU TIME | Coordinated Universal Time (UTC) | Seconds | N | - |
ZULU DAY OF WEEK | UTC day of week | Number | N | - |
ZULU DAY OF MONTH | UTC day of month | Number | N | - |
ZULU MONTH OF YEAR | UTC month of year | Number | N | - |
ZULU DAY OF YEAR | UTC day of year | Number | N | - |
ZULU YEAR | UTC year | Number | N | - |
LOCAL TIME | Local time | Seconds | N | - |
LOCAL DAY OF WEEK | Local day of week | Number | N | - |
LOCAL DAY OF MONTH | Local day of month | Number | N | - |
LOCAL MONTH OF YEAR | Local month of year | Number | N | - |
LOCAL DAY OF YEAR | Local day of year | Number | N | - |
LOCAL YEAR | Local year | Number | N | - |
TIME ZONE OFFSET | Local time difference from UTC | Seconds | N | - |
TIME OF DAY |
General time of day: 0 = Dawn 1 = Day 2 = Dusk 3 = Night |
Enum | N | - |