1828344 Members
3154 Online
109976 Solutions
New Discussion

Timezone offset

 
SOLVED
Go to solution
Ian Derringer
Regular Advisor

Timezone offset

Hi,
Where can I check if my timezone offset is on the target?

Thank you in advance.

Ian
8 REPLIES 8
Robert Gezelter
Honored Contributor
Solution

Re: Timezone offset

Ian,

What version of OpenVMS are you running?

A good starting point is the SYS$TIMEZONE_* logical names (OpenVMS 8.2).

- Bob Gezelter, http://www.rlgsc.com
David Jones_21
Trusted Contributor

Re: Timezone offset

Anybody have new timezone files yet to reflect the new law?
I'm looking for marbles all day long.
Volker Halle
Honored Contributor

Re: Timezone offset

Ian,

$ SHOW LOG SYS$TIME* shows you the OpenVMS timezone-related parameters.

$ TYPE/TAIL SYS$STARTUP:*$UTC_STARTUP.COM (* = either UTC or DTSS) shows you the command, which sets up your timezone information during boot.

You can correct all time-zone related information by using @SYS$MANAGER:UTC$TIME_SETUP.COM

The OpenVMS FAQ has a chapter on this:

4.3 Managing Timezones, Timekeeping, UTC, and Daylight Savings?

http://h71000.www7.hp.com/faq/vmsfaq.txt

If your local timezone rules have changed, you could manually define a correct timezone rule (also explained in the FAQ).

Please note that timezone handling has changed a lot with various versions of OpenVMS, so some of it depends on the VMS version you're running and whether your're running DTSS or not.

Volker.
Jan van den Ende
Honored Contributor

Re: Timezone offset

@David:

Care to explain "the new law"?

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
David Jones_21
Trusted Contributor

Re: Timezone offset

Please excuse my provincialism, part of a bill just passed yesterday by the U.S. congress extends daylight saving time by 6 weeks.
I'm looking for marbles all day long.
Ian Derringer
Regular Advisor

Re: Timezone offset

We're currently running on 7.3-2

Ian
Ian Derringer
Regular Advisor

Re: Timezone offset

I checked and modified according to these responses and now I'm 4 hours faster. I selected CST for the timezone. Where do I go from here?

Thanks,
Ian
Volker Halle
Honored Contributor

Re: Timezone offset

Ian,

if SHOW TIME shows the wrong time in your system, you will need to correct this. There are various ways to do this. You may need to take into account, how your applications or time-released jobs would react to a sudden change in system time.

@SYS$MANAGER:UTC$TIME_SETUP allows you to modify the system time by answering Y to the following question:

Do you wish to modify the local system time [N]:

then you can enter a time offset to be added to local system time:

Enter the time adjustment value:

You could also boot conversationally and temporarily set the system parameter SETTIME = 1, which will cause OpenVMS to prompt you for entering the system time:

>>> b -fl ,1
SYSGEN> set WRITESYSPARAMS 0
SYSGEN> set SETTIME 1
SYSGEN> C

Then enter the correct system time after being prompted.

You could also simply change the time in the running system with the $ SET TIME=hh:mm:ss command.

Volker.