WXP
Resource Reference

Resource: timezone

Resource timezone
Overview Sets timezone used in date labels
Command Line -tz=zone_name
Environment Variable wxptz
Possible Values
Default Value UTC

By default, WXP displays all times in universal time (UTC). The programs use "Z" for the time zone label for simplicity. The syntax to change the timezone is tz:label:offset. For example:

-tz=EST:-5

would plot the time in Eastern Standard Time. The "EST" is only for the label. The critical part is the time offset "-5" which is the number of hours from UTC. The result would be a string like "835 EST 14 OCT 13"

To get time to display as AM/PM, add a plus "+" to the beginning of the label "+EST". The result would be "4:00 PM EST 23 OCT 13".


Last updated November 2013