<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/18302" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2011-03-08T10:29:54-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/18302</id>

		<entry>
		<author><name><![CDATA[Jagg]]></name></author>
		<updated>2011-03-08T10:29:54-04:00</updated>

		<published>2011-03-08T10:29:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96401#p96401</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96401#p96401"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96401#p96401"><![CDATA[
@arfer<br>...looks really good here now on my CET server! <strong class="text-strong">THANKS!!!</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4460">Jagg</a> — Tue Mar 08, 2011 10:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2011-03-08T10:02:51-04:00</updated>

		<published>2011-03-08T10:02:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96399#p96399</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96399#p96399"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96399#p96399"><![CDATA[
Jagg, please give the following script a thorough testing on your system. Input to the command !finddate is the same (English). Output is English.<br><br>[13:57] &lt;@arfer&gt; !finddate sunday december 2010 5<br>[13:57] &lt;osmosis&gt; cannot find 5 Sunday's in December 2010<br>[13:57] &lt;@arfer&gt; !finddate wednesday december 2010 5<br>[13:57] &lt;osmosis&gt; Wednesday 29 December 2010<br><br>I have done brief tests with both Tcl 8.4/Eggdrop and Tcl 8.5/Windrop but I do not have access to alternative server language settings.<br> <br>Hopefully it will now work for any internal language settings. Ensure you restart rather than rehash because of the many changes to the code.<br><div class="codebox"><p>Code: </p><pre><code>set vFinddateVersion 11.03.08.14.01bind PUB - !finddate pPubFinddateproc pPubFinddate {nick uhost hand chan text} {    set vars [split $text]    if {[llength $vars] == 4} {        set day [lindex $vars 0]; set month [lindex $vars 1]; set year [lindex $vars 2]; set number [lindex $vars 3]        switch -- [set date [pParseFinddate $day $month $year $number]] {            e1 {putserv "PRIVMSG $chan :invalid or misspelt full day name"}            e2 {putserv "PRIVMSG $chan :invalid or misspelt full month name"}            e3 {putserv "PRIVMSG $chan :year value was not an integer"}            e4 {putserv "PRIVMSG $chan :year value was not the 4 digits expected"}            e5 {putserv "PRIVMSG $chan :year value was outside the range 1971 through 2037"}            e6 {putserv "PRIVMSG $chan :number value was not an integer"}            e7 {putserv "PRIVMSG $chan :number value was outside the range 1 through 5"}            e8 {putserv "PRIVMSG $chan :cannot find $number [string totitle ${day}'s] in [string totitle $month] $year"}            default {putserv "PRIVMSG $chan :$date"}        }    } else {putserv "PRIVMSG $chan :correct syntax is !finddate &lt;day&gt; &lt;month&gt; &lt;year&gt; &lt;number&gt;"}    return 0}proc pParseFinddate {day month year number} {    set dayname [string tolower $day]    set monthname [string tolower $month]    if {[lsearch -exact {sunday monday tuesday wednesday thursday friday saturday} $dayname] == -1} {return e1}    if {[lsearch -exact {january february march april may june july august september october november december} $monthname] == -1} {return e2}    if {![string is integer -strict $year]} {return e3}    if {[string length $year] != 4} {return e4}    if {($year &lt; 1971) || ($year &gt; 2037)} {return e5}    if {![string is integer -strict $number]} {return e6}    if {($number &lt; 1) || ($number &gt; 5)} {return e7}    set daynumber [pMappingFinddate $dayname 1]    set monthnumber [pMappingFinddate $monthname 2]    set target 1    for {set loop 1} {$loop &lt;= 32} {incr loop} {        set date "$year-$monthnumber-[format %02i $loop]"        if {[catch {set datevalue [clock scan $date]}]} {return e8}        if {![string equal [clock format $datevalue -format %m] $monthnumber]} {return e8}        if {[string equal [clock format $datevalue -format %u] $daynumber]} {            if {[string equal $target $number]} {                set rday [pMappingFinddate [clock format $datevalue -format %u] 3]                set rdate [clock format $datevalue -format %d]                set rmonth [pMappingFinddate [clock format $datevalue -format %m] 4]                set ryear [clock format $datevalue -format %Y]                return "$rday $rdate $rmonth $ryear"            } else {incr target}        }    }    return 0}proc pMappingFinddate {input type} {    switch -- $type {        1 {set output [string map -nocase {monday 1 tuesday 2 wednesday 3 thursday 4 friday 5 saturday 6 sunday 7} $input]}        2 {set output [string map -nocase {january 01 february 02 march 03 april 04 may 05 june 06 july 07 august 08 september 09 october 10 november 11 december 12} $input]}        3 {set output [string map {1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday 6 Saturday 7 Sunday} $input]}        4 {set output [string map {01 January 02 February 03 March 04 April 05 May 06 June 07 July 08 August 09 September 10 October 11 November 12 December} $input]}        default {}    }    return $output}putlog "finddate.tcl version $vFinddateVersion loaded"# eof</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Tue Mar 08, 2011 10:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2011-03-08T08:20:06-04:00</updated>

		<published>2011-03-08T08:20:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96395#p96395</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96395#p96395"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96395#p96395"><![CDATA[
I think this problem is likely to be as a result of server/eggdrop language settings rather than timezone, since a timezone will often encompass several countries/languages.<br><br>The best solution would be to think about a rewrite of the script to deal with day and month numbers, mapping the numbers to names or names to numbers wherever required. I'll give it some thought but it would obviously be a pretty major rewrite.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Tue Mar 08, 2011 8:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jagg]]></name></author>
		<updated>2011-03-08T06:46:53-04:00</updated>

		<published>2011-03-08T06:46:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96394#p96394</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96394#p96394"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96394#p96394"><![CDATA[
@caesar i think that is not that simple... already tried this of course.<br><br>but <div class="codebox"><p>Code: </p><pre><code>if {[catch {set datevalue [clock scan $date]}]} {return e8}</code></pre></div>clock scan only work with english monthnames!? <br>see <div class="codebox"><p>Code: </p><pre><code>% set datevalue [clock scan 8-march-2011]1299538800% set datevalue [clock scan 8-märz-2011]unable to convert date-time string "8-märz-2011"</code></pre></div>and <div class="codebox"><p>Code: </p><pre><code>if {![string equal -nocase [clock format $datevalue -format %B] $monthname]}</code></pre></div>gives me always "0" on none english monthnames like e.g. march ("märz" isn't equal to "march") because above code returns the german monthname<div class="codebox"><p>Code: </p><pre><code>% clock format 1299538800 -format %BMärz</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4460">Jagg</a> — Tue Mar 08, 2011 6:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2011-03-08T06:55:37-04:00</updated>

		<published>2011-03-08T06:39:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96392#p96392</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96392#p96392"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96392#p96392"><![CDATA[
So what stops you from replacing in this two lines:<div class="codebox"><p>Code: </p><pre><code>    if {[lsearch -exact {sunday monday tuesday wednesday thursday friday saturday} $dayname] == -1} {return e1}    if {[lsearch -exact {january february march april may june july august september october november december} $monthname] == -1} {return e2} </code></pre></div>the correct text for day and month?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Mar 08, 2011 6:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jagg]]></name></author>
		<updated>2011-03-08T05:28:53-04:00</updated>

		<published>2011-03-08T05:28:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96390#p96390</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96390#p96390"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96390#p96390"><![CDATA[
I have now the problem that my server/eggdrop is in CET time.<br><br>so i get this<br><br>% clock format [clock scan now] -format "%B"<br>März<br>% clock format [clock scan now] -format "%A"<br>Dienstag<br><br>That means I have a problem now... because that clock scan line only works with english month names, doesn't it?<br><br>And when i give it the english monthname the next line with e.g. clock format $datevalue -format %B doesn't work anymore because clock format gives me the CET monthname  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> (März vs. March and so on... it only works on month which are similar in spelling like august, september,...)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4460">Jagg</a> — Tue Mar 08, 2011 5:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2011-03-07T19:45:41-04:00</updated>

		<published>2011-03-07T19:45:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96382#p96382</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96382#p96382"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96382#p96382"><![CDATA[
This latest 'fixed' version should now work with Eggdrop or Windrop and with Tcl 8.4 or Tcl 8.5<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Mon Mar 07, 2011 7:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jagg]]></name></author>
		<updated>2011-03-07T19:31:00-04:00</updated>

		<published>2011-03-07T19:31:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96381#p96381</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96381#p96381"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96381#p96381"><![CDATA[
@arfer ...do your last posted version (above my post here) still work with tcl 8.4 and 8.5 or only with 8.5?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4460">Jagg</a> — Mon Mar 07, 2011 7:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2011-03-07T17:50:04-04:00</updated>

		<published>2011-03-07T17:50:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96378#p96378</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96378#p96378"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96378#p96378"><![CDATA[
Fixed :-<br><div class="codebox"><p>Code: </p><pre><code>set vFinddateVersion 11.03.07.21.48bind PUB - !finddate pPubFinddateproc pPubFinddate {nick uhost hand chan text} {    set vars [split $text]    if {[llength $vars] == 4} {        set day [lindex $vars 0]; set month [lindex $vars 1]; set year [lindex $vars 2]; set number [lindex $vars 3]        switch -- [set date [pParseFinddate $day $month $year $number]] {            e1 {putserv "PRIVMSG $chan :invalid or misspelt full day name"}            e2 {putserv "PRIVMSG $chan :invalid or misspelt full month name"}            e3 {putserv "PRIVMSG $chan :year value was not an integer"}            e4 {putserv "PRIVMSG $chan :year value was not the 4 digits expected"}            e5 {putserv "PRIVMSG $chan :year value was outside the range 1971 through 2037"}            e6 {putserv "PRIVMSG $chan :number value was not an integer"}            e7 {putserv "PRIVMSG $chan :number value was outside the range 1 through 5"}            e8 {putserv "PRIVMSG $chan :cannot find $number [string totitle ${day}'s] in [string totitle $month] $year"}            default {putserv "PRIVMSG $chan :$date"}        }    } else {putserv "PRIVMSG $chan :correct syntax is !finddate &lt;day&gt; &lt;month&gt; &lt;year&gt; &lt;number&gt;"}    return 0}proc pParseFinddate {day month year number} {    set dayname [string tolower $day]    set monthname [string tolower $month]    if {[lsearch -exact {sunday monday tuesday wednesday thursday friday saturday} $dayname] == -1} {return e1}    if {[lsearch -exact {january february march april may june july august september october november december} $monthname] == -1} {return e2}    if {![string is integer -strict $year]} {return e3}    if {[string length $year] != 4} {return e4}    if {($year &lt; 1971) || ($year &gt; 2037)} {return e5}    if {![string is integer -strict $number]} {return e6}    if {($number &lt; 1) || ($number &gt; 5)} {return e7}    set target 1    for {set loop 1} {$loop &lt;= 32} {incr loop} {        set date "[format %02i $loop]-[string totitle $monthname]-$year"        if {[catch {set datevalue [clock scan $date]}]} {return e8}        if {![string equal -nocase [clock format $datevalue -format %B] $monthname]} {return e8}        if {[string equal -nocase [clock format $datevalue -format %A] $day]} {            if {[string equal $target $number]} {                return [clock format $datevalue -format {%A %d %B %Y}]            } else {incr target}        }    }    return 0}putlog "finddate.tcl version $vFinddateVersion loaded"# eof</code></pre></div>[21:47] &lt;@arfer&gt; !finddate monday december 2010 5<br>[21:47] &lt;osmosis&gt; cannot find 5 Monday's in December 2010<br>[21:47] &lt;@arfer&gt; !finddate tuesday december 2010 5<br>[21:47] &lt;osmosis&gt; cannot find 5 Tuesday's in December 2010<br>[21:47] &lt;@arfer&gt; !finddate wednesday december 2010 5<br>[21:47] &lt;osmosis&gt; Wednesday 29 December 2010<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Mon Mar 07, 2011 5:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2011-03-07T15:14:33-04:00</updated>

		<published>2011-03-07T15:14:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96373#p96373</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96373#p96373"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96373#p96373"><![CDATA[
Still not functioning correctly on my Windrop bot (1.6.19) with Tcl 8.5<br><br>[19:07] &lt;@arfer&gt; !finddate monday february 2010 5<br>[19:07] &lt;osmosis&gt; Monday 01 March 2010<br>[19:08] &lt;@arfer&gt; !finddate saturday february 2010 5<br>[19:08] &lt;osmosis&gt; 0<br><br>[19:22] &lt;arfer&gt; .tcl [clock scan 31-February-2010 -format "%d-%B-%Y"]<br>[19:22] &lt;osmosis&gt; Tcl error: invalid command name "1267574400"<br><br>I'm beginning to think I need to construct a different method/logic, unless somebody can see the issue.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Mon Mar 07, 2011 3:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2011-03-07T14:36:09-04:00</updated>

		<published>2011-03-07T14:36:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96369#p96369</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96369#p96369"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96369#p96369"><![CDATA[
<blockquote class="uncited"><div>Thanks speechless, that does explain things. I have modified the script in my original post according to your recommendations. Hopefully Jagg is still following the thread he created.<br><br>One possible problem though, I'm assuming the code no longer works on Tcl 8.4?</div></blockquote>It worked on tcl8.4 unaltered the way you had it. It will trigger error condition #8 (e8<strong class="text-strong"></strong>) properly and pass it.<br><br>But yes, adding the -format switch to [clock scan] will only work on tcl8.5. To make it work for both, you would have to check $tcl_version and use your original method for 8.4, or the -format within the [clock scan] for 8.5. You are indeed correct. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Mon Mar 07, 2011 2:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2011-03-07T14:08:45-04:00</updated>

		<published>2011-03-07T14:08:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96367#p96367</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96367#p96367"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96367#p96367"><![CDATA[
Thanks speechless, that does explain things. I have modified the script in my original post according to your recommendations. Hopefully Jagg is still following the thread he created.<br><br>One possible problem though, I'm assuming the code no longer works on Tcl 8.4?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Mon Mar 07, 2011 2:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2011-03-07T13:50:12-04:00</updated>

		<published>2011-03-07T13:50:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96366#p96366</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96366#p96366"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96366#p96366"><![CDATA[
<blockquote class="uncited"><div>Yes I'm aware caesar, but that's only any use if the code for two or more switch values require the same code. All the values in the script above have different code.<br><br>I wouldn't mind some explanation of why my Windrop bot rolls extra days over into the next month rather than returning an invalid date. Seems absurd.</div></blockquote><blockquote class="uncited"><div>.tcl [clock scan 31-February-2011]<br>Tcl error: unable to convert date-time string "31-February-2011"</div></blockquote>Indeed, welcome to the new (improved??!) clock within tcl 8.5.  Give it bogus dates, it will return bogus values. Give it the 35th of a month, it will wrap 4 or 5 days into the next month (those with 30/31 days). This is due to tcl8.5 requiring the -format command to implicitly tell it the format you are giving it when using scan. It will no longer allow 'free-form" guesses like tcl8.4 clock did. This is why you see it wrapping into March. <br><div class="codebox"><p>Code: </p><pre><code>#The issueif {[catch {set datevalue [clock scan $date]}]} {return e8}</code></pre></div>You use [clock scan] but you are not using -format within it.. This causes your problem..<br><div class="codebox"><p>Code: </p><pre><code>#The solutionif {[catch {set datevalue [clock scan $date -format "%d-%B-%Y"]}]} {return e8}</code></pre></div><blockquote class="uncited"><div>-format format<br>    Specifies the desired output format for clock format or the expected input format for clock scan. The format string consists of any number of characters other than the per-cent sign (“%”) interspersed with any number of format groups, which are two-character sequences beginning with the per-cent sign. The permissible format groups, and their interpretation, are described under FORMAT GROUPS. </div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Mon Mar 07, 2011 1:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2011-03-07T10:25:25-04:00</updated>

		<published>2011-03-07T10:25:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96361#p96361</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96361#p96361"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96361#p96361"><![CDATA[
Ahh... just ignore my previous post, I misread something. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Don't know, maybe is something Windrop related. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Mar 07, 2011 10:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2011-03-07T09:11:19-04:00</updated>

		<published>2011-03-07T09:11:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96359#p96359</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96359#p96359"/>
		<title type="html"><![CDATA[Find date of second thursday of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96359#p96359"><![CDATA[
Yes I'm aware caesar, but that's only any use if the code for two or more switch values require the same code. All the values in the script above have different code.<br><br>I wouldn't mind some explanation of why my Windrop bot rolls extra days over into the next month rather than returning an invalid date. Seems absurd.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Mon Mar 07, 2011 9:11 am</p><hr />
]]></content>
	</entry>
	</feed>
