<?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: Unix Time Stamp in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/unix-time-stamp/m-p/3582053#M32409</link>
    <description>George,&lt;BR /&gt;&lt;BR /&gt;This query appears to be in the incorrect forum. This forum is for the OpenVMS operating system.&lt;BR /&gt;&lt;BR /&gt;Looking at your batch stream, I suspect that this is a Windows question. I suggest that you re-post the question there.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
    <pubDate>Wed, 13 Jul 2005 17:32:49 GMT</pubDate>
    <dc:creator>Robert Gezelter</dc:creator>
    <dc:date>2005-07-13T17:32:49Z</dc:date>
    <item>
      <title>Unix Time Stamp</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unix-time-stamp/m-p/3582052#M32408</link>
      <description>Hi all I've gotten the email notification to work but when I recieve the page I'm getting in a unix timestamp can anybody help me out with this I want to see regular system time?&lt;BR /&gt;Here is what i have in my bat file&lt;BR /&gt;@echo off&lt;BR /&gt;echo From: OpenView@enbridge.com &amp;gt;&amp;gt;c:\temp\test.txt&lt;BR /&gt;echo To: test@yahoo.com &amp;gt;&amp;gt;c:\temp\test.txt&lt;BR /&gt;echo Subject:D: %1 on %2 &amp;gt;&amp;gt;c:\temp\test.txt&lt;BR /&gt;echo.&amp;gt;&amp;gt;c:\temp\test.txt&lt;BR /&gt;echo.&amp;gt;&amp;gt;c:\temp\test.txt&lt;BR /&gt;echo %1 is unmanaged, on %2. &amp;gt;&amp;gt;c:\temp\test.txt&lt;BR /&gt;copy c:\temp\test.txt c:\inetpub\mailroot\pickup\&lt;BR /&gt;&lt;BR /&gt;del c:\temp\test.txt&lt;BR /&gt;&lt;BR /&gt;Automatic Action Command Line:&lt;BR /&gt;C:\\temp\\test1.bat $2 $5 &lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;r-springville-s0.enbusa-netequip.net is unmanaged, on 1121290945(I want to change this).&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2005 16:37:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unix-time-stamp/m-p/3582052#M32408</guid>
      <dc:creator>George Nguyen</dc:creator>
      <dc:date>2005-07-13T16:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Time Stamp</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unix-time-stamp/m-p/3582053#M32409</link>
      <description>George,&lt;BR /&gt;&lt;BR /&gt;This query appears to be in the incorrect forum. This forum is for the OpenVMS operating system.&lt;BR /&gt;&lt;BR /&gt;Looking at your batch stream, I suspect that this is a Windows question. I suggest that you re-post the question there.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Wed, 13 Jul 2005 17:32:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unix-time-stamp/m-p/3582053#M32409</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-07-13T17:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Time Stamp</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unix-time-stamp/m-p/3582054#M32410</link>
      <description>George,&lt;BR /&gt;&lt;BR /&gt;In the meantime, please note that the UNIX standard timestamp is the number of seconds that have elapsed since January 1, 1970.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Wed, 13 Jul 2005 17:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unix-time-stamp/m-p/3582054#M32410</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-07-13T17:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Time Stamp</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unix-time-stamp/m-p/3582055#M32411</link>
      <description>If this is an OpenVMS question, here's some Q&amp;amp;D DCL to convert a Unix time stamp to OpenVMS system time format.&lt;BR /&gt;&lt;BR /&gt;Cursory testing. The value 1121290945 translates to 13-JUL-2005 21:42:25, which seems plausible.&lt;BR /&gt;&lt;BR /&gt;$ IF p1.EQS."" THEN INQUIRE p1 "Unix time"&lt;BR /&gt;$ t=F$INTEGER(p1)&lt;BR /&gt;$ s=t/60&lt;BR /&gt;$ d=":"+F$STRING(t-s*60)&lt;BR /&gt;$ t=s&lt;BR /&gt;$ s=t/60&lt;BR /&gt;$ d=":"+F$STRING(t-s*60)+d&lt;BR /&gt;$ t=s&lt;BR /&gt;$ s=t/24&lt;BR /&gt;$ d="-"+F$STRING(t-s*24)+d&lt;BR /&gt;$ b="1-JAN-1970"&lt;BR /&gt;$ loop: IF F$INTEGER(s).GT.9999 &lt;BR /&gt;$ THEN&lt;BR /&gt;$   b=F$CVTIME("''b'+9999-0","ABSOLUTE","DATE")&lt;BR /&gt;$   s=s-9999&lt;BR /&gt;$   GOTO loop&lt;BR /&gt;$ ENDIF  &lt;BR /&gt;$ b=F$CVTIME("''b'+''s'''d'","ABSOLUTE")&lt;BR /&gt;$ SHOW SYM b&lt;BR /&gt;$ EXIT</description>
      <pubDate>Thu, 14 Jul 2005 17:08:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unix-time-stamp/m-p/3582055#M32411</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-07-14T17:08:55Z</dc:date>
    </item>
  </channel>
</rss>

