TZ

From EDM2
Jump to: navigation, search

Sets the time zone for the system. The time zone is used by many network or internet applications to determine the correct Greenwich Mean Time (GMT, UTC). For ported applications that cannot handle the TZ format EMXTZ can be used.

SET TZ=SSSdiffDDD,sm,sw,sd,st,em,ew,ed,et,offset
Example
for Central European Time (CET, German MEZ) with Central European Summer Time (CEST, German MSZ)
SET TZ=MEZ-1MSZ,3,-1,0,7200,10,4,0,10800,3600

Parameters

SSS
The identifier of the standard time zone (wintertime). It must be three characters long, starts with a letter and can contain spaces.
diff
This is the difference between GMT and your local time. Diff is defined in hours, hours and minutes or hours, minutes and seconds. You can specify positive and negative values. Positive values denotes a time zone west of the Greenwich meridian. A negative value denotes a time zone east of the Greenwich meridian. See the examples for diff values below:
1 hour east: -1
1 hour and 30 minutes west: 1:30
1 hour, 30 minutes and 20 seconds west: 1:30:20
DDD
The identifier of the daylight savings time zone (summertime). It must be three characters long, start with a letter and can contain spaces.
sm
Starting month of the daylight savings time. Sm can be in the range from 1 to 12. Defaults to 4.
sw
Starting week of the daylight savings time. Sw can be in the range from -4 to 4. -1 is the last week of the month, -2 the week before the last week, ..., 0 no week specified, ... and 1 is the first week. Default: 1
sd
Starting day of the daylight savings time. Sd can be in the range from 0 to 6 if sw is not 0. 0 is the Sunday, 1 is the Monday, ... and 6 is the Saturday. Sd can be in the range from 1 to 31 if sw equals 0. Default: 0
st
Starting time of the daylight savings time. St can be in the range from 1 to 86400. St is counted in seconds from midnight. If the switch to daylight savings time occurs at 01:00:00 O'clock in the night, you should set st to 3600. Default: 3600
em
Ending month of the daylight savings time. Em can be in the range from 1 to 12. Default: 10
ew
Ending week of the daylight savings time. Ew can be in the range from -4 to 4. -1 is the last week of the month, -2 the week before the last week, ..., 0 no week specified, ... and 1 is the first week. Default: -1
ed
Ending day of the daylight savings time. Ed can be in the range from 0 to 6 if ew is not 0. 0 is the Sunday, 1 is the Monday, ... and 6 is the Saturday. Ed can be in the range from 1 to 31 if ew equals 0. Default: 0
et
Ending time of the daylight savings time. Et can be in the range from 1 to 86400. Et is counted in seconds from midnight. If the switch to daylight savings time occurs at 01:00:00 O'clock in the night, you should set et to 3600. Default: 7200
offset
The difference between standard time and daylights savings time. Offset can be in the range from 1 to 86400. One hour is 3600 seconds. Default: 3600

Value can be any full path. Relative paths are not allowed.

Links