[Info-vax] how to get the time of any timezone (C or VMS RTL/system services/etc.)
Richard B. Gilbert
rgilbert88 at comcast.net
Sat May 7 17:58:24 EDT 2011
On 5/7/2011 3:52 AM, CY wrote:
>> Exactly. As long as the system time and the logicals agree that
>> the system is running in UTC, all one should need to do is ask
>> what time is it in X time zone.
>
> <Stealing the thread>
>
> And the daylightsaving is included in that?
> DTSS fixed that, but then if I put my computers in UTC without DST
> then all I have to do is ask for the time and I will get it...
> Would solve some database problems for me, they (RDB) tends to
> overwrite data if written in the same time. (Setting the clock back 1h
> is not really recommended)
>
> But, its a bit of programming to do - users still want to see the
> "real" time.
>
> </tealing>
The last time I looked, VMS allowed each user to set his own Time Zone
and have the appropriate local date/time displayed. Such a feature is
almost necessary when the main computer is in New York and branch
offices are scattered all over the country or the world!
More information about the Info-vax
mailing list