<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hardware clock / software clock discrepancy on L3000 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237308#M173076</link>
    <description>A. Clay Stephenson, thank you for your courteous reply.&lt;BR /&gt;&lt;BR /&gt;Perhaps I should have phrased the question a bit different.  Dealing with timezone differences is a way of life here in Hawaii, so I had no difficulty in recognizing that the 5 hours difference between clocks represents precisely the lag to Eastern Standard Time from here.&lt;BR /&gt;&lt;BR /&gt;Nevertheless, I still have a problem here that I do not know how to remedy.  Does anyone have any suggestions?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 01 Apr 2004 16:23:11 GMT</pubDate>
    <dc:creator>Jacob W. Verkerke</dc:creator>
    <dc:date>2004-04-01T16:23:11Z</dc:date>
    <item>
      <title>Hardware clock / software clock discrepancy on L3000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237306#M173074</link>
      <description>During a recent install of an Oracle9i application, the vendor's expert found that there was a 5 hour difference between the 2 clocks, with the software clock showing the correct local time (HST).  The application's job scheduler supposedly uses the hardware clock.&lt;BR /&gt;&lt;BR /&gt;I have 2 quesitons:&lt;BR /&gt;1) How can I check the hardware clock's time?&lt;BR /&gt;2) If it is indeed off, how can I change it?&lt;BR /&gt;&lt;BR /&gt;I have read some threads on the forums and there seems to be some confusion on whether the 2 clocks are supposed to synchronize each other upon boot, and if that actually always works.&lt;BR /&gt;&lt;BR /&gt;Any help will be much appreciated.</description>
      <pubDate>Thu, 01 Apr 2004 15:19:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237306#M173074</guid>
      <dc:creator>Jacob W. Verkerke</dc:creator>
      <dc:date>2004-04-01T15:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware clock / software clock discrepancy on L3000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237307#M173075</link>
      <description>This is nonsense. What is the probability of an exact 5 hour difference between a hardware clock and the software clock? Answer: Very nearly zero. What is going on is that TZ has not been taken into account. I suspect one value is gmtime() and the other is localtime().</description>
      <pubDate>Thu, 01 Apr 2004 15:46:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237307#M173075</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-04-01T15:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware clock / software clock discrepancy on L3000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237308#M173076</link>
      <description>A. Clay Stephenson, thank you for your courteous reply.&lt;BR /&gt;&lt;BR /&gt;Perhaps I should have phrased the question a bit different.  Dealing with timezone differences is a way of life here in Hawaii, so I had no difficulty in recognizing that the 5 hours difference between clocks represents precisely the lag to Eastern Standard Time from here.&lt;BR /&gt;&lt;BR /&gt;Nevertheless, I still have a problem here that I do not know how to remedy.  Does anyone have any suggestions?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Apr 2004 16:23:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237308#M173076</guid>
      <dc:creator>Jacob W. Verkerke</dc:creator>
      <dc:date>2004-04-01T16:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware clock / software clock discrepancy on L3000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237309#M173077</link>
      <description>In our case here in the Central Timezone, our "hardware" clock is set for GMT and the TZ var takes care of displaying the time adjusted as necessary for timezone. If your application does not do the TZ conversion, you will have to set TZ to GMT and then set the clock to local time. This means you will have to manually adjust for daylight savings time (does HI even use it, sorry I do not know this). Also with the TZ set funny, dates will not be printes with HST or HDT as you might like them to be.&lt;BR /&gt;Having spent my entire UNIX Admin carier in the centeral timezone, I do not have much experience to help with this.&lt;BR /&gt;It will be interesting to see if someone else has a better answer for you.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;-Dave</description>
      <pubDate>Thu, 01 Apr 2004 16:33:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237309#M173077</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2004-04-01T16:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware clock / software clock discrepancy on L3000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237310#M173078</link>
      <description>Thank you Dave,&lt;BR /&gt;&lt;BR /&gt;The value of TZ is set to 'HST10" which seems appropriate.  However, etc/default/tz contains the value 'EST5EDT' which may be the problem.  I will check with the application vendor if somehow there program picks up the date and time in a way that is not how HP-UX normally handles these things.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.</description>
      <pubDate>Thu, 01 Apr 2004 16:58:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237310#M173078</guid>
      <dc:creator>Jacob W. Verkerke</dc:creator>
      <dc:date>2004-04-01T16:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware clock / software clock discrepancy on L3000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237311#M173079</link>
      <description>Okay, that makes more sense.&lt;BR /&gt;&lt;BR /&gt;You need to find out what the database time zone is set to:&lt;BR /&gt;select dbtimezone from dual;&lt;BR /&gt;&lt;BR /&gt;I suspect this is what was called the 'hardware' clock.&lt;BR /&gt;&lt;BR /&gt;You can change the timezone for a session like this:&lt;BR /&gt;ALTER SESSION SET TIME_ZONE = '-10:00';&lt;BR /&gt;&lt;BR /&gt;You can also set the session TZ using environment variables as well. I suggest you search Oracle's Metalink where you should find ton's of data on timezones.&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Apr 2004 17:02:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-clock-software-clock-discrepancy-on-l3000/m-p/3237311#M173079</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-04-01T17:02:07Z</dc:date>
    </item>
  </channel>
</rss>

