<?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 First Friday of month in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/first-friday-of-month/m-p/4428851#M16750</link>
    <description>Anyone know how I can check to see if the current date is the first friday of the month in DCL?</description>
    <pubDate>Thu, 28 May 2009 17:37:50 GMT</pubDate>
    <dc:creator>James T Horn</dc:creator>
    <dc:date>2009-05-28T17:37:50Z</dc:date>
    <item>
      <title>First Friday of month</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-friday-of-month/m-p/4428851#M16750</link>
      <description>Anyone know how I can check to see if the current date is the first friday of the month in DCL?</description>
      <pubDate>Thu, 28 May 2009 17:37:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-friday-of-month/m-p/4428851#M16750</guid>
      <dc:creator>James T Horn</dc:creator>
      <dc:date>2009-05-28T17:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: First Friday of month</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-friday-of-month/m-p/4428852#M16751</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;$IF  F$CVTIME(,,"WEEKDAY") .EQS. "Friday" -&lt;BR /&gt;  .AND. F$CVTIME(,,"DAY") .LTS. "08" &lt;BR /&gt;$THEN&lt;BR /&gt;  :&lt;BR /&gt;$ENDIF &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 May 2009 17:46:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-friday-of-month/m-p/4428852#M16751</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-05-28T17:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: First Friday of month</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-friday-of-month/m-p/4428853#M16752</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;from your Forum Profile: &lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt; &lt;BR /&gt;I have assigned points to 19 of 56 responses to my questions. &lt;BR /&gt;&lt;/QUOTE&gt; &lt;BR /&gt;&lt;BR /&gt;Maybe you can find some time to do some assigning? &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Mind, I do NOT say you necessarily need to give lots of points. It is fully up to _YOU_ to decide how many. If you consider an answer is not deserving any points, you can also assign 0 ( = zero ) points, and then that answer will no longer be counted as unassigned. &lt;BR /&gt;Consider, that every poster took at least the trouble of posting for you! &lt;BR /&gt;&lt;BR /&gt;To easily find your streams with unassigned points, click your own name somewhere. &lt;BR /&gt;This will bring up your profile. &lt;BR /&gt;Near the bottom of that page, under the caption "My Question(s)" you will find "questions or topics with unassigned points " Clicking that will give all, and only, your questions that still have unassigned postings. &lt;BR /&gt;&lt;BR /&gt;Thanks on behalf of your Forum colleagues. &lt;BR /&gt;&lt;BR /&gt;PS. nothing personal in this. I try to post it to everyone with this kind of assignment ratio in this forum. If you have received a posting like this before please do not take offence none is intended! &lt;BR /&gt;&lt;BR /&gt;PPS. Zero points for THIS entry, please.&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>Thu, 28 May 2009 18:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-friday-of-month/m-p/4428853#M16752</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2009-05-28T18:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: First Friday of month</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-friday-of-month/m-p/4428854#M16753</link>
      <description>Give Hein 10 points.&lt;BR /&gt;&lt;BR /&gt;Just FYI, if you use .lts. for the comparison, make sure that COMPARISON time is used for the DAY, not ABSOLUTE time.  Hein's example is correct, since COMPARISON is the default, but see what happens when ABSOLUTE is specified.&lt;BR /&gt;&lt;BR /&gt;$ ts="02-JUN-2009 15:12:59.04"&lt;BR /&gt;$ write sys$output f$cvtime(ts,,"DAY")&lt;BR /&gt;02&lt;BR /&gt;$ write sys$output f$cvtime(ts,"COMPARISON","DAY")&lt;BR /&gt;02&lt;BR /&gt;$ write sys$output f$cvtime(ts,"ABSOLUTE","DAY")&lt;BR /&gt;2&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;If you use .lt. 8 instead of .lts. "08" then either format will work.&lt;BR /&gt;&lt;BR /&gt;Oh, and if you want the last Friday of the month, the following works&lt;BR /&gt;&lt;BR /&gt;$ ts = f$cvtime("+1-0","ABSOLUTE")&lt;BR /&gt;$ sho sym ts&lt;BR /&gt;  TS = "29-MAY-2009 16:43:02.27"&lt;BR /&gt;$ if f$cvtime(ts,,"WEEKDAY") .eqs. "Friday" .and. f$cvtime("''ts'+7-0",,"DAY") .lt. 8 then write sys$output "''ts' is last Friday of&lt;BR /&gt; Month"&lt;BR /&gt;29-MAY-2009 16:43:02.27 is last Friday of Month&lt;BR /&gt;$ ts = f$cvtime("+8-0","ABSOLUTE")&lt;BR /&gt;$ sho sym ts&lt;BR /&gt;  TS = "5-JUN-2009 16:42:06.90"&lt;BR /&gt;$ if f$cvtime(ts,,"WEEKDAY") .eqs. "Friday" .and. f$cvtime("''ts'+7-0",,"DAY") .lt. 8 then write sys$output "''ts' is last Friday of&lt;BR /&gt; Month"&lt;BR /&gt;$</description>
      <pubDate>Thu, 28 May 2009 19:49:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-friday-of-month/m-p/4428854#M16753</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2009-05-28T19:49:08Z</dc:date>
    </item>
  </channel>
</rss>

