<?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: timezone in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286037#M181192</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The /etc/default/tz has the setting which the date and time related commands use if the TZ enviorn variable is not set. If you export the TZ in your enviorn then it overrides the default setting. Have a look at man tztab, tzset and enviorn.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Manish.</description>
    <pubDate>Tue, 25 May 2004 10:06:56 GMT</pubDate>
    <dc:creator>Manish Srivastava</dc:creator>
    <dc:date>2004-05-25T10:06:56Z</dc:date>
    <item>
      <title>timezone</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286032#M181187</link>
      <description>In /etc/TIMEZONE, I have TZ set to GMT0.  One of our developers says that some of his code is setting the time off by 5 hours and he thinks it's because the file /etc/default/tz contains one line:&lt;BR /&gt;EST5EDT&lt;BR /&gt;&lt;BR /&gt;I've never heard of the /etc/default/tz file.  Can anyone tell me what this file is for?&lt;BR /&gt;&lt;BR /&gt;TIA</description>
      <pubDate>Tue, 25 May 2004 08:53:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286032#M181187</guid>
      <dc:creator>Tom Fellowes</dc:creator>
      <dc:date>2004-05-25T08:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: timezone</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286033#M181188</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;/etc/TIMEZONE will set the default TZ initially, but *can* be overriden by any subsequent export of TZ. Remember the time in the system is constant, only how it's displayed can be manipulated. So have the developer check any .profile settings &amp;amp; any/all scripts run prior to starting the SW. I suspect you'll see where they're setting a new TZ value.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 25 May 2004 08:57:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286033#M181188</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-05-25T08:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: timezone</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286034#M181189</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;have you tried &lt;BR /&gt;&lt;BR /&gt;echo $TZ&lt;BR /&gt;&lt;BR /&gt;to check that it is in fact not the default timezone. &lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Tue, 25 May 2004 09:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286034#M181189</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2004-05-25T09:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: timezone</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286035#M181190</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;what is the O.S. version? 11.11 or 11.00?&lt;BR /&gt;&lt;BR /&gt;Anyway it is the default TIMEZONE of system.&lt;BR /&gt;For better comprehension: under /etc/default there is fs too.&lt;BR /&gt;Then when you will use&lt;BR /&gt;&lt;BR /&gt;# newfs /dev/vg00/rlvol10&lt;BR /&gt;&lt;BR /&gt;without specify -F &lt;TYPE of="" filesystems=""&gt; system will take up vxfs because /etc/default/fs contains&lt;BR /&gt;LOCAL=vxfs.&lt;BR /&gt;&lt;BR /&gt;The same should be for timezone; if you doesn't specify timezone /etc/default/tz should be taken.&lt;BR /&gt;&lt;BR /&gt;Another problem I heard about libc. From libc patch text:&lt;BR /&gt;&lt;BR /&gt;When  environment  variable  TZ is not  set,  the  variables&lt;BR /&gt;tzname[2]   and  timezone  is  set  to  hard  coded   values&lt;BR /&gt;corresponding to Eastern Standard Time.&lt;BR /&gt;&lt;BR /&gt;Please past output of &lt;BR /&gt;# swlist -l product |grep -i libc&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore&lt;/TYPE&gt;</description>
      <pubDate>Tue, 25 May 2004 09:16:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286035#M181190</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2004-05-25T09:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: timezone</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286036#M181191</link>
      <description>THanks for the help, but it ended up being bad code.  The developer checked and his code was using tzset and he said he'd change it to use locatime or ctime or something like that.  I should've posted this in a programming area anyway.  Sorry.</description>
      <pubDate>Tue, 25 May 2004 10:04:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286036#M181191</guid>
      <dc:creator>Tom Fellowes</dc:creator>
      <dc:date>2004-05-25T10:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: timezone</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286037#M181192</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The /etc/default/tz has the setting which the date and time related commands use if the TZ enviorn variable is not set. If you export the TZ in your enviorn then it overrides the default setting. Have a look at man tztab, tzset and enviorn.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Manish.</description>
      <pubDate>Tue, 25 May 2004 10:06:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/timezone/m-p/3286037#M181192</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-05-25T10:06:56Z</dc:date>
    </item>
  </channel>
</rss>

