Next Previous Up Top Contents Index

7.6 The DATE module

date-time-zone-offset-setter

Function

Summary

Change the time zone offset of a specified date, while maintaining the same point in time.

Signature

date-time-zone-offset-setter new-time-zone-offset date 
=> new-time-zone-offset

Arguments

new-time-zone-offset

An instance of <integer>.

date
An instance of <date>.

Values

new-time-zone-offset

An instance of <integer>.

Library

system

Module

date

Description

Changes the time zone offset of date without changing the actual point in time identified by the date. The values of the other components of date are adjusted to reflect the new time zone.

The new-time-zone-offset argument should represent the offset from GMT, in minutes. Thus, if you wish to specify a new offset representing EST, which is 5 hours behind GMT, new-time-zone-offset should have the value -300.

See also

date-time-zone-offset, page 141


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index