<?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/12721" />

	<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>2006-11-22T17:55:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2006-11-22T17:55:05-04:00</updated>

		<published>2006-11-22T17:55:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68346#p68346</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68346#p68346"/>
		<title type="html"><![CDATA[Calculate Date]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68346#p68346"><![CDATA[
a million thanks...<br><br>Exactly what i needed:)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3555">CoMMy</a> — Wed Nov 22, 2006 5:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-11-20T20:06:00-04:00</updated>

		<published>2006-11-20T20:06:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68261#p68261</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68261#p68261"/>
		<title type="html"><![CDATA[Calculate Date]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68261#p68261"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set duetime [clock scan "mm/dd/yy hh:mm:ss"]set duration [duration [expr {$duetime - [unixtime]}]]</code></pre></div>Read about <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/clock.htm#M45" class="postlink">clock scan</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Nov 20, 2006 8:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2006-11-20T18:57:44-04:00</updated>

		<published>2006-11-20T18:57:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68258#p68258</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68258#p68258"/>
		<title type="html"><![CDATA[Calculate Date]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68258#p68258"><![CDATA[
Hi,<br><br>I need some coding info regarding the use of date.<br>Basically what i need is to get some variables of a date example:<br>set minutes 6<br>set 24hour 14 <br>set day 10<br>set month 12<br>set year 2006<br><br>And then i want the script to calculate the remaining time from today untill that date in this format:<br>Years,Months,Days,Hours,Minutes<br><br>a 0 should be shown only where it is not applicable. Example 2006 to 2006 is 0 years.<br><br><br>Any ideas how to implement this? Maybe someone has a script ready for this ? I have found a Datestill.tcl but i cant make it work like i want :S<br><br><br>Thanks for help:)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3555">CoMMy</a> — Mon Nov 20, 2006 6:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
