|
Dumb question time: How is the time stored internally? What is the preferred method of handling the time? On Unix, the time is stored internally in GMT, and a timezone offset is used to display the time in the user's local time zone. DST is handled automatically for display, and ignored internally (since GMT has no DST). In MVS, the recommendation is to set the system clock to GMT, and an IPL-time parameter is used to display the time in the local timezone. DST may or may not be handled automatically, depending on a lot of factors. Right now, my AS/400's clock is off by an hour or so, so I need to reset it. QUTCOFFSET is +00:00, so it thinks the time is in GMT. (It's not.) Should I set it to my local time, or GMT? Should I set QUTCOFFSET, or leave it at 0? What do I do when DST ends?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.