<?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: changing time in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938165#M113151</link>
    <description>Tarek, &lt;BR /&gt;&lt;BR /&gt;It will show up once someone logs out and then back in and run the date command to confirm your changes took effect.  No need to reboot.&lt;BR /&gt;&lt;BR /&gt;-karlski</description>
    <pubDate>Mon, 31 Mar 2003 21:40:03 GMT</pubDate>
    <dc:creator>Karl Balsmeier</dc:creator>
    <dc:date>2003-03-31T21:40:03Z</dc:date>
    <item>
      <title>changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938151#M113137</link>
      <description>Hi &lt;BR /&gt;I should modify the system clock on my unix 10.20 machine, and adjust it according to Lebanon's summer time clock by adding one hour at midnight.&lt;BR /&gt;can i modify the time automatically without using a "at" command or script?&lt;BR /&gt;is there any file where i should modify or configure?thanks for your help.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Mar 2003 14:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938151#M113137</guid>
      <dc:creator>tarek_3</dc:creator>
      <dc:date>2003-03-28T14:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938152#M113138</link>
      <description>If your TZ variable is correct for your Timezone then you should not have to do a manual date adjustment on your system.  It will be automatic.</description>
      <pubDate>Fri, 28 Mar 2003 15:07:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938152#M113138</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-03-28T15:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938153#M113139</link>
      <description>I'm sure every one will advise you that you should set up NTP, but if you just want to keep it simple, make a script that you can use with at:&lt;BR /&gt;&lt;BR /&gt;echo "yes" &amp;gt; /tmp/yes_time&lt;BR /&gt;CTIME=`0328100803`&lt;BR /&gt;date $CTIME &amp;lt; /tmp/yes_time&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Change the CTIME value to what you want it to be when the at job runs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 28 Mar 2003 15:10:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938153#M113139</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-28T15:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938154#M113140</link>
      <description>If /etc/TIMEZONE is set correctly, you need to do absolutely nothing. Man tztab to determine the correct setting. Also, note that TZ only affects how the time is displayed, UNIX simply counts seconds since Jan 1, 1970. Also note that differnt user might have very different TZ settings and that works as well. Processes like cron are dependent upon the TZ setting (almost always taken from /etc/TIMEZONE) when the cron daemon was started. Man crontab for details on how summer/daylight saving time is handled by cron.&lt;BR /&gt;&lt;BR /&gt;Again, I strongly suspect that you have to do absolutely nothing.&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Mar 2003 15:11:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938154#M113140</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-03-28T15:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938155#M113141</link>
      <description>Why don't you have the correct timezone set?&lt;BR /&gt;&lt;BR /&gt;Use # set_parms timezone&lt;BR /&gt;&lt;BR /&gt;and follow your nose.</description>
      <pubDate>Fri, 28 Mar 2003 15:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938155#M113141</guid>
      <dc:creator>Michael Duthie</dc:creator>
      <dc:date>2003-03-28T15:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938156#M113142</link>
      <description>If for some reason you ned to do it manaully or at a time other than when HP thinks its neesd to happen, you can use the date command.&lt;BR /&gt;&lt;BR /&gt;man date&lt;BR /&gt;&lt;BR /&gt;The prior posts however are the better way to go.&lt;BR /&gt;&lt;BR /&gt;I also recommend if you have access to the Internet or an internal time server you set up ntp to maintain system time.&lt;BR /&gt;&lt;BR /&gt;Here is a great thread on the subject.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf136b941255cd71190080090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf136b941255cd71190080090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 28 Mar 2003 15:15:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938156#M113142</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-03-28T15:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938157#M113143</link>
      <description>thanks all&lt;BR /&gt;but i 'am not very good with timing.how can i know that the seting of TZ is correct.</description>
      <pubDate>Fri, 28 Mar 2003 15:24:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938157#M113143</guid>
      <dc:creator>tarek_3</dc:creator>
      <dc:date>2003-03-28T15:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938158#M113144</link>
      <description>check for /usr/lib/tztab and his manpage. The TZ  you have in  use must be in there. You can check in it if your Daylight Savings time will be OK.&lt;BR /&gt;&lt;BR /&gt;Is your TZ correct? If the outcome of date -u is right? Then your TZ is OK.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Donald</description>
      <pubDate>Fri, 28 Mar 2003 15:40:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938158#M113144</guid>
      <dc:creator>Donald Kok</dc:creator>
      <dc:date>2003-03-28T15:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938159#M113145</link>
      <description>Try using set_parms timezone&lt;BR /&gt;&lt;BR /&gt;Select Africa, then unlisted then GMT+2.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Fri, 28 Mar 2003 16:02:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938159#M113145</guid>
      <dc:creator>Michael Duthie</dc:creator>
      <dc:date>2003-03-28T16:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938160#M113146</link>
      <description>You can also modify /etc/profile&lt;BR /&gt;&lt;BR /&gt;# Set the TIMEZONE&lt;BR /&gt;&lt;BR /&gt;        if [ -r /etc/TIMEZONE ]&lt;BR /&gt;        then&lt;BR /&gt;           . /etc/TIMEZONE&lt;BR /&gt;        else&lt;BR /&gt;            TZ=PST8PDT                   # change this for local time.&lt;BR /&gt;            export TZ&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;And also make sure /etc/TIMEZONE  has the 7 character value for lebanon.&lt;BR /&gt;&lt;BR /&gt;set_parms timezone works well also , buit I like tha manual settings as well, especially, I paste the variable above into each user's /home/user/.profile, that way there's simply no issue with time anymore, especially gleaning advice from previous postings... &lt;BR /&gt;&lt;BR /&gt;good luck!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Mar 2003 20:51:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938160#M113146</guid>
      <dc:creator>Karl Balsmeier</dc:creator>
      <dc:date>2003-03-28T20:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938161#M113147</link>
      <description>hi thanks again&lt;BR /&gt;is there any way to know that the when the system will change the time?</description>
      <pubDate>Sat, 29 Mar 2003 08:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938161#M113147</guid>
      <dc:creator>tarek_3</dc:creator>
      <dc:date>2003-03-29T08:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938162#M113148</link>
      <description>if you have *.info enabled in your /etc/syslog.conf the information will be updated in your syslog.&lt;BR /&gt;&lt;BR /&gt;you could run script to tail -f /var/adm/syslog/syslog.log&lt;BR /&gt;and grep for time and then let it email you.&lt;BR /&gt;&lt;BR /&gt;that would be my solution without spending a dime.&lt;BR /&gt;no I am not saying there is not a tool out there that does just what you're looking for.&lt;BR /&gt;</description>
      <pubDate>Sat, 29 Mar 2003 18:29:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938162#M113148</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-03-29T18:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938163#M113149</link>
      <description>&amp;gt; is there any way to know that the when the system will change the time? &lt;BR /&gt;&lt;BR /&gt;The system will *not* "change" the time, because the *system* is running in UTC (Universal Time ...) also known as GMT (Greenwich Mean Time).&lt;BR /&gt;&lt;BR /&gt;What *will* change is how the system *presents* *local* time, i.e. the result of the "date" command and the localtime() and similar functions (see the ctime(3C) manual page).&lt;BR /&gt;&lt;BR /&gt;Please post the content of the file /etc/TIMEZONE and give an example output from the "date" command and indicate whether the local time is correct or not.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;I live in The Netherlands, also known as "Holland". We now have "summertime" (Daylight Saving Time, DST). My info is:&lt;BR /&gt;&lt;BR /&gt;$ cat /etc/TIMEZONE&lt;BR /&gt;TZ=MET-1METDST&lt;BR /&gt;export TZ&lt;BR /&gt;$ date ; date -u&lt;BR /&gt;Mon Mar 31 13:41:35 METDST 2003&lt;BR /&gt;Mon Mar 31 11:41:35 UTC 2003&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;I.e. we are in the MET, Middle European Time, timezone. If you lookup the MET-1METDST entry in the /usr/lib/tztab file, you will see that our summertime/DST is indeed 2 hours later than UTC/GMT (and our wintertime/non-DST) is 1 hour later than UTC/GMT.&lt;BR /&gt;&lt;BR /&gt;I hope this answers your questions.</description>
      <pubDate>Mon, 31 Mar 2003 11:50:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938163#M113149</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2003-03-31T11:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938164#M113150</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I feel I should expose this.&lt;BR /&gt;As already stated above: Summer time (or Daylight Saving Time - DST) is only the way how the system *interprets* its internal timer (that measures number of seconds from 1.1.1970).Once this is set correctly it should be left *untouched*. Most internal time related activity is based on the value of this (file-related dates for example).&lt;BR /&gt;For DST the mechanism of TimeZones should be used.You can use any of already predefined, check if any suits you:&lt;BR /&gt;man tztab&lt;BR /&gt;more /usr/lib/tztab&lt;BR /&gt;check also the current settimg:&lt;BR /&gt;echo $TZ&lt;BR /&gt;which is defined at the startup in the script:&lt;BR /&gt;/etc/TIMEZONE&lt;BR /&gt;(where could be adjusted if needed to make permanent).&lt;BR /&gt;&lt;BR /&gt;If you won't find anything that suits you, I think you could create TimeZone for yourself. The idea, although a little bit complicated, is very well explained in man tztab.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Adam&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Mar 2003 14:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938164#M113150</guid>
      <dc:creator>Adam J Markiewicz</dc:creator>
      <dc:date>2003-03-31T14:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: changing time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938165#M113151</link>
      <description>Tarek, &lt;BR /&gt;&lt;BR /&gt;It will show up once someone logs out and then back in and run the date command to confirm your changes took effect.  No need to reboot.&lt;BR /&gt;&lt;BR /&gt;-karlski</description>
      <pubDate>Mon, 31 Mar 2003 21:40:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-time/m-p/2938165#M113151</guid>
      <dc:creator>Karl Balsmeier</dc:creator>
      <dc:date>2003-03-31T21:40:03Z</dc:date>
    </item>
  </channel>
</rss>

