<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1000751" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1000751</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/weekly-countdown-it-possible-have-variable-end-date#comment-1003257</link>
    <description> &lt;p&gt;I have a site dedicated to a certain TV show, which airs weekly at 10pm every friday on CBS. I want to write up a script that will display a countdown until the next episode, and I&#039;m not sure how to tackle it. Does something like this exist yet?&lt;/p&gt;
&lt;p&gt;Here&#039;s what I&#039;m thinking... First I&#039;d need some type of formula to calculate when it&#039;s friday in the numerical sense. After I found the first friday in a year, and if I knew the number of days in each month, then it should be simple to know that for example the 7th, 14th, and 21st are fridays... but I&#039;m not sure. That&#039;s one of the things I&#039;m having trouble with, aswell as how to import the date into perl (newbie question) is it just an environmental var? If so, what&#039;s it&#039;s name? I&#039;m kinda new to PERL, I mainly do C(++) and Pascal, but this seems similar... any help would be greatly apprecaited!&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
-Blur&lt;br /&gt;
Proudly Canadian&lt;/p&gt;
 </description>
     <pubDate>Sun, 22 Aug 1999 02:47:00 +0000</pubDate>
 <dc:creator>Blur</dc:creator>
 <guid isPermaLink="false">comment 1003257 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
