[Info-vax] DTSS to NTP

Mike Rechtman mike at rechtman.com
Sat Oct 31 00:37:37 EDT 2009


Richard B. Gilbert wrote:
> Bob Koehler wrote:
>> In article <hccu3s$scl$1 at pcls6.std.com>, 
>> moroney at world.std.spaamtrap.com (Michael Moroney) writes:
>>> I'm working with a site that has software that doesn't tolerate time
>>> changes well.  Before this summer, they'd run with parameter
>>> AUTO_DLIGHT_SAV = 0, and when DST started or ended, they'd change the 
>>> time
>>> manually when convenient for them and restart the software.  Some time
>>> over the summer they started using NTP to synch with an external source.
>>> I see that NTP itself shouldn't mess them up, but I foresee them 
>>> changing
>>> the time and then having NTP try to set the time back.  They'll have to
>>> stop NTP, change the time, change the time zone for NTP and restart it,
>>> from what I see.  Did I miss anything?
>>
>>    You should be able to setup NTP such that it doesn't do daylight
>>    savings time.  But in order to do daylight savings time on your own
>>    schedule you'll have to modify NTP's settings to convince it to give
>>    you what you want when you want it.
>>
> 
> NTP knows nothing of "daylight savings" time.  It deals in UTC (what 
> used to be called (Greenwich or GMT) ONLY.  Your operating system may 
> have provision for displaying local time and/or standard and daylight 
> saving time!  Windows does.  So does VMS in recent versions; say the 
> last ten or fifteen years.  ISTR that even Unix has provisions for 
> keeping UTC and displaying the local time of your choice.  Searching for 
>  "TZ" might turn something up.
> 
> For VMS, look in SYS$MANAGER.

NTP wil not touch your daylight saving setup. DTSS OTOH will.
To see what you have at the moment, try: @SYS$MANAGER:UTC$TIME_SETUP "" SHOW
(IIRC V7.3-2 or later, with less explicit output in older versions)

-- 
Mike R.
Home: http://alpha.mike-r.com/
QOTD: http://alpha.mike-r.com/php/qotd.php
No Micro$oft products were used in the URLs above, or in preparing this message.
Recommended reading: http://www.catb.org/~esr/faqs/smart-questions.html#before
--



More information about the Info-vax mailing list