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

	<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>2003-11-24T09:43:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-11-24T09:43:41-04:00</updated>

		<published>2003-11-24T09:43:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30609#p30609</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30609#p30609"/>
		<title type="html"><![CDATA[Re: Time difference]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30609#p30609"><![CDATA[
<blockquote class="uncited"><div>Hi,<br>I am trying to make a script that returns the difference between a given date and time to current date and time.<br>Given date and time is in this format 1991-09-26 and 23:10:10<br>The only thing I found that seems to do this thing is clock scan but a can't get it to work.<br><br>If you have any idea how to do this please feel free to write back.</div></blockquote><a href="http://www.tcl.tk/man/tcl8.4/TclCmd/clock.htm" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/clock.htm</a><br><div class="codebox"><p>Code: </p><pre><code>set date 1991-09-26 set time 23:10:10 puts "Converting $date $time" set clocksecs [clock scan "$date $time"]puts "Clock seconds: $clocksecs"set check [clock format $clocksecs -format "%Y-%m-%d %H:%M:%S"]puts "Back conversion: $check"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Mon Nov 24, 2003 9:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-24T08:40:44-04:00</updated>

		<published>2003-11-24T08:40:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30607#p30607</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30607#p30607"/>
		<title type="html"><![CDATA[Time difference]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30607#p30607"><![CDATA[
Hi,<br>I am trying to make a script that returns the difference between a given date and time to current date and time.<br>Given date and time is in this format 1991-09-26 and 23:10:10<br>The only thing I found that seems to do this thing is clock scan but a can't get it to work.<br><br>If you have any idea how to do this please feel free to write back.<p>Statistics: Posted by Guest — Mon Nov 24, 2003 8:40 am</p><hr />
]]></content>
	</entry>
	</feed>
