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

	<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>2004-01-26T16:19:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[cvanmeer]]></name></author>
		<updated>2004-01-26T16:19:30-04:00</updated>

		<published>2004-01-26T16:19:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32908#p32908</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32908#p32908"/>
		<title type="html"><![CDATA[Years, Months, Days, etc.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32908#p32908"><![CDATA[
thx...this worked:<br><div class="codebox"><p>Code: </p><pre><code>set diff [duration [expr [clock seconds] - [clock scan $since]]]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4215">cvanmeer</a> — Mon Jan 26, 2004 4:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-01-25T18:53:11-04:00</updated>

		<published>2004-01-25T18:53:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32877#p32877</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32877#p32877"/>
		<title type="html"><![CDATA[Years, Months, Days, etc.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32877#p32877"><![CDATA[
Look for "duration" in tcl-commands.doc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun Jan 25, 2004 6:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cvanmeer]]></name></author>
		<updated>2004-01-25T18:25:41-04:00</updated>

		<published>2004-01-25T18:25:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32874#p32874</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32874#p32874"/>
		<title type="html"><![CDATA[Years, Months, Days, etc.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32874#p32874"><![CDATA[
Hi All,<br><br>I'm trying to put together a script that returns the number of years, months, days, hours, etc. from a certain date. I've searched the forum, there are a few posts that come close to what I want, but I can't seem to make it work.<br><br>I want to make a script where I set the 'from-date' in a variable (ie. June, 30th 2002) and calculate the date difference to now and output it to the channel like: "# years, # monts, # days, # hours, # seconds have passed since $fromdate"<br><br>Could somebody help me?<br><br>thx.<br><br>Chrizz<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4215">cvanmeer</a> — Sun Jan 25, 2004 6:25 pm</p><hr />
]]></content>
	</entry>
	</feed>
