SCOUG-HELP Mailing List Archives
Return to [ 09 |
August |
2005 ]
<< Previous Message <<
>> Next Message >>
** Reply to message from "Peter Skye pskye@peterskye.com" on Tue, 9 Aug 2005
14:22:08 PDT7
> What I need to know is:
>
> -- Are there program calls (perhaps PM, perhaps WPS, perhaps in
> platforms such as Java or XFree86, perhaps in add-on libraries) which
> return "adjusted" clock values, or instead is it up to each application
> program to simply obtain the TZ environment value and adjust as desired.
The clock is set to local time so there is no need to convert the time that is
retrieved. Some programs insert the time zone (-7 or -8 or PDT / PST) into
whatever output they are generating so this needs to be changed from standard /
daylight time. The standard time functions in OS/2 are DosGetDateTime() and
DosSetDateTime(), I think that the "set" stores the information in a control
block and the "get" just returns what was stored. The time zone parameter is
not set by OS/2 so some other program has to set it first.
I do know that IBM JAVA 131 is broken unless you use the short version of the
TZ variable. What other programs do not work correctly I don't know.
> -- Does some component of the operating system change the clock when
> crossing a Daylight Saving boundary? (I haven't seen this happen but
> I'd like some kind of confirmation one way or the other.)
I think it is the clock program (which is an add on by Serenity) that does the
changes in eCS 1.2. Before that it was a third party program such as
TIME868.EXE.
--
Robert Blair
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"postmaster@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 09 |
August |
2005 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|