EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: epics vxworks time off by 1 hour
From: Kay-Uwe Kasemir <[email protected]>
To: Dennis Nicklaus <[email protected]>
Cc: [email protected]
Date: Sun, 09 Sep 2007 19:43:02 -0400
Hi:

On Sep 7, 2007, at 17:02 , Dennis Nicklaus wrote:
putenv "TIMEZONE=PSTPDT::480:031102:110402"
putenv "EPICS_TS_MIN_WEST=480"
I'm really in the Central time zone, but I thought I would make it think I was Pacific time, just
to see what happens.

Just 2 for what it's worth notes: The 'PSTPDT' doesn't seem to matter, only the numbers (480 etc.) count

We had some very strange problems when we set TIMEZONE.
When instead setting EPICS_TIMEZONE,
which the IOC startup code then copies to TIMEZONE,
all was fine.
But when setting TIMEZONE before iocInit,
the osiTime code that tries to determine the correct offset
from 1970 to 1990 broke, because some of the vxWorks routines
ignore the 'dst' flags.
In older EPICS releases, that timezone offset was a constant,
but newer releases try to determine it by converting back and forth
between local and GMT/UTZ, and that failed for us when TIMEZONE
was set.
Anyway, maybe just try defining EPICS_TIMEZONE, don't set TIMEZONE
yourself, and see if that's better.

-Kay
References:
epics vxworks time off by 1 hour Dennis Nicklaus

Navigate by Date:
Prev: RE: epics vxworks time off by 1 hour Jeff Hill
Next: RT linux Heinrich du Toit
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: epics vxworks time off by 1 hour Jeff Hill
Next: RT linux Heinrich du Toit
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·