in german/auf Deutsch


SET TZ

Use this to SET up the correct timezone you live in. The time zone is used by many network or internet application to determine the correct General Mean Time (GMT, UTC or MEZ).

SET Tz=SSSdiffDDD,sm,sw,sd,st,em,ew,ed,et,offset

Parameters:

  • SSS
    The identifier of the standard timezone (wintertime). It must be three characters long, start with a letter and can contain spaces.

  • diff
    This is the difference between the GMT time 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 timezone west of the Greenwich meridian. A negative value denotes a timezone east of the Greenwich meridian. See the examples for diff values below:
    Diff is one hour east -1
    Diff is one hour and 30 minutes west 1:30
    Diff is one hour, 30 minutes and 20 seconds west 1:30:20

  • DDD
    The identifier of the daylight savings timezone (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 .
    Default: 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 occours 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 occours 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


Platform Support:
OS/2 2.x OS/2 3.0 OS/2 4.0
Yes Yes Yes


SET Statements
Country Settings
  <<< Previous
Config.sys Home
Next >>>  


Last modified 1 Aug 1999 by Joerg Sievers at jogi@warpsite.de. - This page can be found from http://www.warpsite.de/en/csdp/SET_TZ.htm
Copyright © 1998-2000 Oliver Poggensee, © 2000 Joerg Sievers