<?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 Date and Time in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952286#M116282</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;i have questions about the date and time and HP-UX...&lt;BR /&gt;&lt;BR /&gt;How can i check and change the real system date and time ?&lt;BR /&gt;CATIA does not use the time given by "date"...&lt;BR /&gt;&lt;BR /&gt;Which is the function of the "date"-time ?&lt;BR /&gt;&lt;BR /&gt;Thx</description>
    <pubDate>Wed, 16 Apr 2003 05:13:44 GMT</pubDate>
    <dc:creator>JFS_1</dc:creator>
    <dc:date>2003-04-16T05:13:44Z</dc:date>
    <item>
      <title>Date and Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952286#M116282</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;i have questions about the date and time and HP-UX...&lt;BR /&gt;&lt;BR /&gt;How can i check and change the real system date and time ?&lt;BR /&gt;CATIA does not use the time given by "date"...&lt;BR /&gt;&lt;BR /&gt;Which is the function of the "date"-time ?&lt;BR /&gt;&lt;BR /&gt;Thx</description>
      <pubDate>Wed, 16 Apr 2003 05:13:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952286#M116282</guid>
      <dc:creator>JFS_1</dc:creator>
      <dc:date>2003-04-16T05:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952287#M116283</link>
      <description>&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Without really knowing what your problem is&lt;BR /&gt;I have these comments/questions.&lt;BR /&gt;&lt;BR /&gt; . Using the command date  in a shell does&lt;BR /&gt;   it return  correct data.  If not check&lt;BR /&gt;   the value of the environment-variable TZ&lt;BR /&gt;&lt;BR /&gt; . I would guess  CATIA  uses  some  c-function&lt;BR /&gt;   to get info about date/time.  All of these&lt;BR /&gt;   functions depend on what TZ is set to. So&lt;BR /&gt;   check if TZ is set correctly (and exported)&lt;BR /&gt;   when you start CATIA&lt;BR /&gt;&lt;BR /&gt;Olav</description>
      <pubDate>Wed, 16 Apr 2003 05:21:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952287#M116283</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2003-04-16T05:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952288#M116284</link>
      <description>Hi Olav,&lt;BR /&gt;&lt;BR /&gt;my problem is :&lt;BR /&gt;&lt;BR /&gt;- the command date gives : 9.25 am&lt;BR /&gt;- when i write a CATIA-model, the time of the file is 8.25 am&lt;BR /&gt;&lt;BR /&gt;Why this difference ??&lt;BR /&gt;&lt;BR /&gt;I have set MET-1METDST.&lt;BR /&gt;&lt;BR /&gt;thx</description>
      <pubDate>Wed, 16 Apr 2003 05:26:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952288#M116284</guid>
      <dc:creator>JFS_1</dc:creator>
      <dc:date>2003-04-16T05:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952289#M116285</link>
      <description>You can view that date/time with the 'date' command. The man page gives some good examples.&lt;BR /&gt;If you intend changing the time backwards, beware that databases do not like it all, and you could crsah these. To change the timezone, use the 'set_parms' command.&lt;BR /&gt;&lt;BR /&gt;# set_parms -timezone&lt;BR /&gt;&lt;BR /&gt;Have a look at the man page for this also, it does mention that you need to reboot your system.</description>
      <pubDate>Wed, 16 Apr 2003 05:27:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952289#M116285</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-04-16T05:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952290#M116286</link>
      <description>See manpage for your date command.&lt;BR /&gt;&lt;BR /&gt;If your particular application does not use the time given by the date command, what else could it be using?&lt;BR /&gt;&lt;BR /&gt;Can you point out the places where it differs - some log entry is dated different from the actual system time?&lt;BR /&gt;&lt;BR /&gt;Maybe if you see the manuals for your application, there is some mention of this - maybe that the date is written following GMT, etc rather than the actual TZ.&lt;BR /&gt;&lt;BR /&gt;system date is obtained as a long in C language, using the ftime command.&lt;BR /&gt;&lt;BR /&gt;to set a new time on your system, as root run date -u [+format].&lt;BR /&gt;&lt;BR /&gt;of course, if ntp is running on your system and there's a time server available on your network, the time would typically get adjusted to synch with the time server.&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;- ramd.</description>
      <pubDate>Wed, 16 Apr 2003 05:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952290#M116286</guid>
      <dc:creator>Ramkumar Devanathan</dc:creator>
      <dc:date>2003-04-16T05:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952291#M116287</link>
      <description>When the &lt;BR /&gt;&lt;BR /&gt;#set_parms timezone should synchronize all times&lt;BR /&gt;&lt;BR /&gt;You have the RTC,file system time and system time.&lt;BR /&gt;&lt;BR /&gt;This document should help you &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063203197" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063203197&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 16 Apr 2003 05:42:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952291#M116287</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-04-16T05:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952292#M116288</link>
      <description>Hi,&lt;BR /&gt;I think CATIA uses some C time subroutine, It depends on which subroutine used if adjusted for daylight saving time or not (check the man 3 page for ctime). Which subroutine CATIA uses can perhaps only someone from CATIA give an answere to.</description>
      <pubDate>Wed, 16 Apr 2003 05:49:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952292#M116288</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2003-04-16T05:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952293#M116289</link>
      <description>Another quick method is to make sure that your application is actually seeing the correct timezone. Make sure that your application reads in the /etc/TIMEZONE file.</description>
      <pubDate>Wed, 16 Apr 2003 05:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952293#M116289</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-04-16T05:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952294#M116290</link>
      <description>&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;A very  usual way for a c-program to obtain&lt;BR /&gt;date/time info  is to do the following:&lt;BR /&gt;&lt;BR /&gt;  time_t secs;&lt;BR /&gt;  struct tm *tid;&lt;BR /&gt;&lt;BR /&gt;  secs = time(0);&lt;BR /&gt;  tid = localtime(&amp;amp;secs);&lt;BR /&gt;&lt;BR /&gt;The call to time returns the  number of seconds&lt;BR /&gt;passed since the Epoch.&lt;BR /&gt;The call to localtime  converts this info to&lt;BR /&gt;a more usable format, using  information&lt;BR /&gt;from /usr/lib/tztab  about  your timezone, daylight-saving time.&lt;BR /&gt;What entry in tztab that is used depends on&lt;BR /&gt;the value of the environment-variable  TZ.&lt;BR /&gt;&lt;BR /&gt;It may be that CATIA  only uses  a call to time() and has some other method of converting this info to your local-time, but I doubt it.&lt;BR /&gt;If  you still get the time wrong after beeing&lt;BR /&gt;100% sure that CATIA  is started in such a way&lt;BR /&gt;that it picks up the correct TZ,  it is time&lt;BR /&gt;to contact the vendor of CATIA  to see if some&lt;BR /&gt;other config-value is missing.&lt;BR /&gt;&lt;BR /&gt;Olav&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Apr 2003 06:53:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952294#M116290</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2003-04-16T06:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952295#M116291</link>
      <description>you should think about turning NTP on.&lt;BR /&gt;&lt;BR /&gt;edit the /etc/ntp.conf file with valid NTP server names.&lt;BR /&gt;&lt;BR /&gt;you may add a drift file&lt;BR /&gt;&lt;BR /&gt;/etc/ntp.drift&lt;BR /&gt;&lt;BR /&gt;a good value = 3.849 0&lt;BR /&gt;&lt;BR /&gt;then in /etc/rc.config.d/netdaemons file&lt;BR /&gt;&lt;BR /&gt;there is 3 lines to edit&lt;BR /&gt;&lt;BR /&gt;export NTPDATE_SERVER="sometimeserver.internet.com"&lt;BR /&gt;export XNTPD=1&lt;BR /&gt;export XNTPD_ARGS=" -c /etc/ntp.conf"&lt;BR /&gt;&lt;BR /&gt;almost there.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then run /sbin/init.d/xntpd start&lt;BR /&gt;&lt;BR /&gt;ntp should be running, then you never have to worry about your system clock again.&lt;BR /&gt;&lt;BR /&gt;#ntpq -p&lt;BR /&gt;&lt;BR /&gt;checks the network time.&lt;BR /&gt;&lt;BR /&gt;peace&lt;BR /&gt;Donny&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Apr 2003 10:42:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-and-time/m-p/2952295#M116291</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-04-16T10:42:49Z</dc:date>
    </item>
  </channel>
</rss>

