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

	<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>2005-04-27T16:32:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-27T16:32:00-04:00</updated>

		<published>2005-04-27T16:32:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48631#p48631</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48631#p48631"/>
		<title type="html"><![CDATA[time thingy help !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48631#p48631"><![CDATA[
try this:<div class="codebox"><p>Code: </p><pre><code>clock scan "[string range $sqlstamp 0 7] [string range $sqlstamp 8 end]"</code></pre></div><blockquote class="uncited"><div>tcl: evaluate (.tcl): clock scan "20050426 151138"<br>Tcl: 1114524698<br>tcl: evaluate (.tcl): ctime 1114524698<br>Tcl: Tue Apr 26 15:11:38 2005</div></blockquote><a href="http://www.tcl.tk/man/tcl8.4/TclCmd/clock.htm#M45" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/clock.htm#M45</a><br><br>reading The Manual gives enlightment <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">.<br><br>for the rest you just need to expr the unixtime stamps and phrase them via the "duration" TCL-Command <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=2382">De Kus</a> — Wed Apr 27, 2005 4:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Psx|Dk]]></name></author>
		<updated>2005-04-27T09:19:52-04:00</updated>

		<published>2005-04-27T09:19:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48622#p48622</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48622#p48622"/>
		<title type="html"><![CDATA[time thingy help !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48622#p48622"><![CDATA[
Hey all <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>i extract timestamp from a mysqldb<br><br>looks like this 20050426151138<br><br>what i need is a way to convert it to following !<br><br>if i need to see time after 1½ year<br>want it to look like this <br><br>1<strong class="text-strong">y</strong> 6<strong class="text-strong">m</strong> 16<strong class="text-strong">h</strong> 9<strong class="text-strong">m</strong> 19<strong class="text-strong">s</strong><br><br><br><br>any there can help me out here !<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3698">Psx|Dk</a> — Wed Apr 27, 2005 9:19 am</p><hr />
]]></content>
	</entry>
	</feed>
