<?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: DST Roll-Forward date testing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026985#M429899</link>
    <description>Sorry, I should have closed this long ago.</description>
    <pubDate>Fri, 29 May 2009 15:13:37 GMT</pubDate>
    <dc:creator>Keith Brister</dc:creator>
    <dc:date>2009-05-29T15:13:37Z</dc:date>
    <item>
      <title>DST Roll-Forward date testing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026978#M429892</link>
      <description>My application's manager wants me to set the date forward on an HP-UX vPar to test the DST patches (Java, HP-UX, Oracle, and Oracle ERP) that we have applied. &lt;BR /&gt;&lt;BR /&gt;Is it possible to set the date forward for testing then set it back to the current date without problems?</description>
      <pubDate>Tue, 06 Feb 2007 16:01:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026978#M429892</guid>
      <dc:creator>Keith Brister</dc:creator>
      <dc:date>2007-02-06T16:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: DST Roll-Forward date testing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026979#M429893</link>
      <description>Going forward is usually ok.&lt;BR /&gt;&lt;BR /&gt;Going back is a different story.&lt;BR /&gt;  &lt;BR /&gt;Depending on the applications, i.e. those that might have logic for checking validity of transactions, it is safest to stop the applications before moving time backward.  Even better, reboot server to move back.&lt;BR /&gt;&lt;BR /&gt;Just like Y2K testing, deja vu.</description>
      <pubDate>Tue, 06 Feb 2007 16:05:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026979#M429893</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2007-02-06T16:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: DST Roll-Forward date testing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026980#M429894</link>
      <description>It is a very bad idea to test on any product system.&lt;BR /&gt;Sure you can set the date to any day but the database may have some big issues.</description>
      <pubDate>Tue, 06 Feb 2007 16:28:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026980#M429894</guid>
      <dc:creator>George Liu_4</dc:creator>
      <dc:date>2007-02-06T16:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: DST Roll-Forward date testing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026981#M429895</link>
      <description>Note that it is a very bad idea to set the time backwards --- especially on a production box. I would only do this in a test environment -- and even then -- I would have a good backup and restore after setting the time backwards. The problem is that you will have timestamps that are in the future in some of your application data, database data, and file timestamps. This can wreak havoc with makefiles as the dependencies no longer make sense. You also have a situation where database transaction number 1000 occurs before transaction number 999. With the exception of Java testing (and it shouldn't be too hard to write a Jave time function test), the attached Perl script will test essentially everything except "homegrown" date routines --- and you shouldn't be using them anyhow. Because it uses the same underlying libC date routines that all UNIX programs should be using, if it works, the system works. There is no need to make any system time changes and it will display the exact second before and after each time transition. It can even test multiple TZ settings.&lt;BR /&gt;&lt;BR /&gt;TZ=CST6CDT dst.pl -y 2007&lt;BR /&gt;TZ=EST5EDT dst.pl &lt;BR /&gt;&lt;BR /&gt;Invoke as "dst.pl -u" for full usage. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Feb 2007 16:51:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026981#M429895</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-02-06T16:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: DST Roll-Forward date testing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026982#M429896</link>
      <description>The box is a test system and the database can be discarded, if necessary, after the test. &lt;BR /&gt;&lt;BR /&gt;My main concern is that the HP-UX operating system is stable after the date is set back. I have concerns that it would not be, but I am looking for someone more experienced that could confirm or dispute that.&lt;BR /&gt;&lt;BR /&gt;Clay, thanks for the script.</description>
      <pubDate>Tue, 06 Feb 2007 17:13:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026982#M429896</guid>
      <dc:creator>Keith Brister</dc:creator>
      <dc:date>2007-02-06T17:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: DST Roll-Forward date testing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026983#M429897</link>
      <description>&amp;gt; My main concern is that the HP-UX operating system is stable after the date is set back. I have concerns that it would not be, but I am looking for someone more experienced that could confirm or dispute that.&lt;BR /&gt; &lt;BR /&gt;You are reading far too much into the impact of the patch. HP-UX knows nothing about timezones and daylight saving changes. HP-UX keeps only one time: UTC (aka, GMT) and it never changes froward or backward. Instead, each process inherits a timezone variable called TZ and this allows the classic Unix library time routines to adjust the time value automatically. You have more than two dozen timezones and daylight saving rules in effect at the same time on your system. Every year, politicians in various countries change things around and all that is needed for HP-UX is a modified tztab file. You can eve create your own personal timezone with your own rules for daylight saving.&lt;BR /&gt; &lt;BR /&gt;Now that said, depending on the version of HP-UX you are running, you will want to reboot so that stored values can be refreshed. Java is a completely different story as it ignores the OS and invents it's own timekeeping. For more comprehensive details, see:&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.hp.com/go/dst" target="_blank"&gt;http://www.hp.com/go/dst&lt;/A&gt;</description>
      <pubDate>Wed, 07 Feb 2007 00:07:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026983#M429897</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-02-07T00:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: DST Roll-Forward date testing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026984#M429898</link>
      <description>You could give Time Machine a try.  It's used in production by many financial and other companies and government entities that have date sensitive testing to perform.  It supports many OS platforms, Oracle, SAP, Java, etc..and does not cause an issue with file time-stamps. &lt;BR /&gt;&lt;BR /&gt;See:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/portal/site/dspp/PAGE.template/page.catalog_product_detail?productId=65&amp;amp;jumpid=reg_R1002_USEN" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/PAGE.template/page.catalog_product_detail?productId=65&amp;amp;jumpid=reg_R1002_USEN&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or:&lt;BR /&gt;&lt;A href="http://www.solution-soft.com/timemachine.shtml" target="_blank"&gt;http://www.solution-soft.com/timemachine.shtml&lt;/A&gt;</description>
      <pubDate>Mon, 04 Feb 2008 23:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026984#M429898</guid>
      <dc:creator>mkmorrison</dc:creator>
      <dc:date>2008-02-04T23:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: DST Roll-Forward date testing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026985#M429899</link>
      <description>Sorry, I should have closed this long ago.</description>
      <pubDate>Fri, 29 May 2009 15:13:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dst-roll-forward-date-testing/m-p/5026985#M429899</guid>
      <dc:creator>Keith Brister</dc:creator>
      <dc:date>2009-05-29T15:13:37Z</dc:date>
    </item>
  </channel>
</rss>

