<?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 get current work week in string in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/get-current-work-week-in-string/m-p/55469#M31371</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to pull the date from a constant changing folder name, the name is the year+curent WW e.g. 201817&lt;/P&gt;&lt;P&gt;I have the following JSL&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;if ((day of week(today()))==1,
WW = "^year(today())^^week of year(today())-1^",
WW = "^year(today())^^week of year(today())^"
);&lt;BR /&gt;&lt;BR /&gt;Eval Insert Into( WW );&lt;BR /&gt;&lt;BR /&gt;dt = Open("\\.......\Reports\"||WW||"\.......xlsx");&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;it works when&amp;nbsp;I run it on my PC but when&amp;nbsp;I schedule it on a server the script not running - anyone has idea&amp;nbsp;way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Apr 2018 11:40:57 GMT</pubDate>
    <dc:creator>AdamChoen</dc:creator>
    <dc:date>2018-04-25T11:40:57Z</dc:date>
    <item>
      <title>get current work week in string</title>
      <link>https://community.jmp.com/t5/Discussions/get-current-work-week-in-string/m-p/55469#M31371</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to pull the date from a constant changing folder name, the name is the year+curent WW e.g. 201817&lt;/P&gt;&lt;P&gt;I have the following JSL&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;if ((day of week(today()))==1,
WW = "^year(today())^^week of year(today())-1^",
WW = "^year(today())^^week of year(today())^"
);&lt;BR /&gt;&lt;BR /&gt;Eval Insert Into( WW );&lt;BR /&gt;&lt;BR /&gt;dt = Open("\\.......\Reports\"||WW||"\.......xlsx");&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;it works when&amp;nbsp;I run it on my PC but when&amp;nbsp;I schedule it on a server the script not running - anyone has idea&amp;nbsp;way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 11:40:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/get-current-work-week-in-string/m-p/55469#M31371</guid>
      <dc:creator>AdamChoen</dc:creator>
      <dc:date>2018-04-25T11:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: get current work week in string</title>
      <link>https://community.jmp.com/t5/Discussions/get-current-work-week-in-string/m-p/55477#M31379</link>
      <description>&lt;P&gt;Have you tried pulling from the server?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;path = "\\.......\Reports\"||WW||"\.......xlsx";
show(path);
dt = open(path);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Apr 2018 17:16:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/get-current-work-week-in-string/m-p/55477#M31379</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2018-04-25T17:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: get current work week in string</title>
      <link>https://community.jmp.com/t5/Discussions/get-current-work-week-in-string/m-p/56412#M31690</link>
      <description>&lt;P&gt;it was a server access&amp;nbsp;issue at the end, thanks for helping&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 08:53:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/get-current-work-week-in-string/m-p/56412#M31690</guid>
      <dc:creator>AdamChoen</dc:creator>
      <dc:date>2018-05-04T08:53:51Z</dc:date>
    </item>
  </channel>
</rss>

