<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1000781" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1000781</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/weekly-countdown-problems-script-only-works-certain-days-week#comment-1003405</link>
    <description> &lt;p&gt;This will do the trick:&lt;/p&gt;
&lt;p&gt;#!/usr/bin/perl&lt;/p&gt;
&lt;p&gt;($sec, $min, $hour, $mday, $mon, $year, $wday, $ydat, $isdst) = localtime(time);&lt;br /&gt;
$count = 5 - $wday;&lt;br /&gt;
if ($wday = 6) {&lt;br /&gt;
  $count = 6;&lt;br /&gt;
}&lt;br /&gt;
print &amp;quot;content-type: text/html\n\n&amp;quot;;&lt;br /&gt;
print $count;&lt;/p&gt;
 </description>
     <pubDate>Fri, 24 Sep 1999 17:11:00 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">comment 1003405 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
