<?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: UTC 0 &amp;lt;-&amp;gt; Locatime conversions in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903816#M32248</link>
    <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt;Have a look at the $TIMCON and $NUMUTC system services. $TIMCON converts a 64-bit date/time quadword to 128-bit UTC format.&lt;BR /&gt;$NUMUTC takes the 128-bit UTC datum, and cuts it into pieces (year, month_of_year, etc.) The last word of that struct is the TDF in minutes.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Kris (aka Qkcl)</description>
    <pubDate>Wed, 25 May 2005 07:18:07 GMT</pubDate>
    <dc:creator>Kris Clippeleyr</dc:creator>
    <dc:date>2005-05-25T07:18:07Z</dc:date>
    <item>
      <title>UTC 0 &lt;-&gt; Locatime conversions</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903813#M32245</link>
      <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;Hopefully this will be simple to solve. Does VMS have support (via system services etc.) to convert local times to a UTC 0 time (and vice versa). The various UTC conversions in the system services seem to use the current TDF, fine at the moment but not so good when requests span a BST-GMT or GMT-BST transition.&lt;BR /&gt;&lt;BR /&gt;I know the CRTL should support this, but I'd rather not go the route of calling the CRTL from Pascal if I can help it.&lt;BR /&gt;&lt;BR /&gt;The system (VMS 7-3-2) is synched to a NTP server and the TDF has been setup to give the correct local time. We have been asked to report all system events (application detected) to another system in UTC 0. However the system still needs to report local time to the operators (as well as converting operator requests to event information from UTC0 to local time).&lt;BR /&gt;&lt;BR /&gt;Any clues would be appreciated. &lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Wed, 25 May 2005 06:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903813#M32245</guid>
      <dc:creator>Brian Reiter</dc:creator>
      <dc:date>2005-05-25T06:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: UTC 0 &lt;-&gt; Locatime conversions</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903814#M32246</link>
      <description>I don't know if the TDF part of the 128 bit UTC format returned by GETUTC etc is documented but it must be in there somehow. Try looking at it has two vms 64 bit format times - parhaps one of them is the TDF as a delta time.</description>
      <pubDate>Wed, 25 May 2005 06:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903814#M32246</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-05-25T06:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: UTC 0 &lt;-&gt; Locatime conversions</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903815#M32247</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;The TDF can be examined by calling $NUMUTC. However the TDF is always seems to be set to the current offset (BST in this case). Converting a time (say 1-Jan-2005) where I would I could expect a TDF 0 (done via $ASCUTC and $NUMUTC) gives the current TDF.&lt;BR /&gt;&lt;BR /&gt;FWIW interpreting a UTC time as two VMS times doesn't help.&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Wed, 25 May 2005 07:17:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903815#M32247</guid>
      <dc:creator>Brian Reiter</dc:creator>
      <dc:date>2005-05-25T07:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: UTC 0 &lt;-&gt; Locatime conversions</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903816#M32248</link>
      <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt;Have a look at the $TIMCON and $NUMUTC system services. $TIMCON converts a 64-bit date/time quadword to 128-bit UTC format.&lt;BR /&gt;$NUMUTC takes the 128-bit UTC datum, and cuts it into pieces (year, month_of_year, etc.) The last word of that struct is the TDF in minutes.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Wed, 25 May 2005 07:18:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903816#M32248</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-05-25T07:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: UTC 0 &lt;-&gt; Locatime conversions</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903817#M32249</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;according to the system services documentation, whenever the output time format is UTC, 'the timezone of the local system is used'.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 25 May 2005 08:21:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903817#M32249</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-05-25T08:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: UTC 0 &lt;-&gt; Locatime conversions</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903818#M32250</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;did you look at the DECdts Portable API routines described in the Utility Routines Manual ? They seem to supply all kinds of routines to convert time between various different time structures.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 25 May 2005 08:53:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903818#M32250</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-05-25T08:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: UTC 0 &lt;-&gt; Locatime conversions</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903819#M32251</link>
      <description>Hi Volker,&lt;BR /&gt;&lt;BR /&gt;Forgot all about that manual - so used to just having to use the System Service and RLT LIB manuals on a daily basis.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Wed, 25 May 2005 09:27:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903819#M32251</guid>
      <dc:creator>Brian Reiter</dc:creator>
      <dc:date>2005-05-25T09:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: UTC 0 &lt;-&gt; Locatime conversions</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903820#M32252</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;As an attachment a little C program that does convert from local time to UTC (written in C).&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
      <pubDate>Wed, 25 May 2005 09:38:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903820#M32252</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-05-25T09:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: UTC 0 &lt;-&gt; Locatime conversions</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903821#M32253</link>
      <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;Got the routines I need now - just constructing the Pascal prototypes and doing testing them to verify that it will all work correctly.&lt;BR /&gt;&lt;BR /&gt;Thanks very much for your help&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Thu, 26 May 2005 09:36:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/utc-0-lt-gt-locatime-conversions/m-p/4903821#M32253</guid>
      <dc:creator>Brian Reiter</dc:creator>
      <dc:date>2005-05-26T09:36:56Z</dc:date>
    </item>
  </channel>
</rss>

