<?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: Calculate GMT in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142350#M26137</link>
    <description>Ah stupid cut'n'paste interface -&lt;BR /&gt;in the above proc., the line &lt;BR /&gt;  $if f$extract(0,1,dt1).eqs."-").or.(f$extract(0,1,dt1).eqs."+")&lt;BR /&gt;&lt;BR /&gt;has to be &lt;BR /&gt;$if (f$extract ...&lt;BR /&gt;</description>
    <pubDate>Wed, 26 Nov 2008 12:42:36 GMT</pubDate>
    <dc:creator>Joseph Huber_1</dc:creator>
    <dc:date>2008-11-26T12:42:36Z</dc:date>
    <item>
      <title>Calculate GMT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142343#M26130</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Hoping someone has a quick fix/script for this.  Trying to find a way to calculate the GMT value from the current systems' time and SYS$TIMEZONE_DIFFERENTIAL.&lt;BR /&gt;&lt;BR /&gt;Anyone have a quick lexical that did this?</description>
      <pubDate>Fri, 21 Nov 2008 21:40:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142343#M26130</guid>
      <dc:creator>Peter Zeiszler</dc:creator>
      <dc:date>2008-11-21T21:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate GMT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142344#M26131</link>
      <description>Assuming you're in an integer timezone (and not one of the zones with a fraction of an hour), try:&lt;BR /&gt;&lt;BR /&gt;$ x=f$cvtim("+" + f$extract((f$integer(f$trnlnm("SYS$TIMEZONE_DAYLIGHT_SAVING"))*4+3),1,f$trnlnm("SYS$TIMEZONE_RULE")) +":","ABSOLUTE")&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Nov 2008 03:13:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142344#M26131</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-11-22T03:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate GMT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142345#M26132</link>
      <description>&amp;gt;Hoff: not one of the zones with a fraction of an hour&lt;BR /&gt;&lt;BR /&gt;Two of those would be India and Venezuela.</description>
      <pubDate>Sat, 22 Nov 2008 21:53:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142345#M26132</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-22T21:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate GMT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142346#M26133</link>
      <description>Yep, I'm aware of the fractional DSTs. And that the DCL code might not work so hot with a negative offset from GMT.   Also of the rumor that the US might finally free itself of the DST idea, too.</description>
      <pubDate>Sun, 23 Nov 2008 03:25:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142346#M26133</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-11-23T03:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate GMT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142347#M26134</link>
      <description>Remark : "3" can also be more characters. The standard says 3 or more char (wrote that down many tears ago, source unknown).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 25 Nov 2008 15:09:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142347#M26134</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-11-25T15:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate GMT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142348#M26135</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;(wrote that down many tears ago&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Litterally?  Did you get hurt by it that much?  :-)&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Tue, 25 Nov 2008 15:29:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142348#M26135</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-11-25T15:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate GMT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142349#M26136</link>
      <description>Hoffs DCL code, generalized for all time-zones&lt;BR /&gt;(at least I think so :-)&lt;BR /&gt;&lt;BR /&gt;$dt3=-&lt;BR /&gt;f$extract((f$integer(f$trnlnm("SYS$TIMEZONE_DAYLIGHT_SAVING"))*4+3),-&lt;BR /&gt;3,f$trnlnm("SYS$TIMEZONE_RULE"))&lt;BR /&gt;$ dt2=f$extract(0,2,dt3)&lt;BR /&gt;$ dt1=f$extract(0,1,dt3)&lt;BR /&gt;$ if f$extract(0,1,dt1).eqs."-").or.(f$extract(0,1,dt1).eqs."+")&lt;BR /&gt;$ then&lt;BR /&gt;$  dt = dt2&lt;BR /&gt;$ else&lt;BR /&gt;$  dt="+"+dt1&lt;BR /&gt;$  if (f$extract(1,1,dt3).ges."0").and.-&lt;BR /&gt;(f$extract(1,1,dt3).les."9") then dt="+"+dt2&lt;BR /&gt;$ endif&lt;BR /&gt;$ if (f$extract(2,1,dt3).ges."0").and.(f$extract(2,1,dt3).les."9")&lt;BR /&gt;$ then &lt;BR /&gt;$  dt=dt3&lt;BR /&gt;$ endif&lt;BR /&gt;$ dt = dt+":"&lt;BR /&gt;$! show symbol dt&lt;BR /&gt;$ write sys$output f$cvtim(dt,"ABSOLUTE") &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Nov 2008 08:48:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142349#M26136</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2008-11-26T08:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate GMT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142350#M26137</link>
      <description>Ah stupid cut'n'paste interface -&lt;BR /&gt;in the above proc., the line &lt;BR /&gt;  $if f$extract(0,1,dt1).eqs."-").or.(f$extract(0,1,dt1).eqs."+")&lt;BR /&gt;&lt;BR /&gt;has to be &lt;BR /&gt;$if (f$extract ...&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Nov 2008 12:42:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142350#M26137</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2008-11-26T12:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate GMT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142351#M26138</link>
      <description>Our support is moving to India now but the systems in question aren't located there.&lt;BR /&gt;I will play with the command files.  Thanks.</description>
      <pubDate>Mon, 01 Dec 2008 16:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142351#M26138</guid>
      <dc:creator>Peter Zeiszler</dc:creator>
      <dc:date>2008-12-01T16:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate GMT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142352#M26139</link>
      <description>The command file worked great - even for the systems overseas.</description>
      <pubDate>Tue, 02 Dec 2008 17:42:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/calculate-gmt/m-p/5142352#M26139</guid>
      <dc:creator>Peter Zeiszler</dc:creator>
      <dc:date>2008-12-02T17:42:54Z</dc:date>
    </item>
  </channel>
</rss>

