Contents | Index | Previous | Next

Set and print Daylight Savings Time

With X11 release 19 and later, the daylight savings time adjustment can be programmed to take place automatically. You can set the date to change to daylight savings, and to return to standard time. This information can be queried at any time.

The following commands are accepted by this program for this capability. The system clock MUST ALREADY be set for the daylight savings time to be updated. This information survives sysload.

EmDash.gif FWTM = Set the date and time for the clock to move forward.

EmDash.gif BWTM = Set the date and time for the clock to move backward.

EmDash.gif SDST = Enable or disable the automatic change.

EmDash.gif TDST = Query the change information.

To implement these commands, use the following.

EmDash.gif FWTM <month> <week> <day> <hour>

month = 1-(4)-12 [January-December]

week = (1)-5, L [1st-5th, L is the last week of the month]

day = (1)-7 [Sunday-Saturday]

hour = 1-(2)-22 [Midnight-11:00 pm]

EmDash.gif BWTM <month> <week> <day> <hour>

month = 1-(10)-12 [January-December]

week = (1)-5, L [1st-5th, L is the last week of the month]

day = (1)-7 [Sunday-Saturday]

hour = 1-(2)-22 [Midnight-11:00 pm]

EmDash.gif SDST ON, (OFF)

ON enables the automatic change capability

OFF disables the automatic change capability

EmDash.gif TDST <CR>

The output reflects the input format to indicate the change information.