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

	<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-28T11:04:12-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-01-28T11:04:12-04:00</updated>

		<published>2004-01-28T11:04:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33006#p33006</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33006#p33006"/>
		<title type="html"><![CDATA[Subtracting Time from strftime]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33006#p33006"><![CDATA[
To write the current time - 10 minutes:<div class="codebox"><p>Code: </p><pre><code>strftime %H:%M [expr {[clock seconds]-600}]</code></pre></div>To subtract 10 minutes from an existing timestamp:<div class="codebox"><p>Code: </p><pre><code>strftime %H:%M [expr {[clock scan $theStamp]-600}]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Jan 28, 2004 11:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Darkj]]></name></author>
		<updated>2004-01-28T09:40:35-04:00</updated>

		<published>2004-01-28T09:40:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33004#p33004</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33004#p33004"/>
		<title type="html"><![CDATA[Subtracting Time from strftime]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33004#p33004"><![CDATA[
Ok, right now in my script, to mark the current time, it uses [strftime %H:%M].  Now my question is, how would I go about taking that time, subtracting 10 minutes off it, then writing the time.<br><br>This is all part of my server status script for a webpage.  But the webpage has a 10 minute delay.  And I want to be able to write to file the RIGHT time the server came up, not 10 mins after it came up.<br><br>Help would be greatly appreciated.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3459">Darkj</a> — Wed Jan 28, 2004 9:40 am</p><hr />
]]></content>
	</entry>
	</feed>
