<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SliQTools Software Development Blog</title>
	<atom:link href="http://www.sliqtools.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sliqtools.co.uk/blog</link>
	<description>Software Tips and Snippets</description>
	<lastBuildDate>Fri, 25 Sep 2009 17:53:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Windows Mail on Vista &#8211; Simple MAPI send problem</title>
		<link>http://www.sliqtools.co.uk/blog/windows-help/windows-mail-on-vista-simple-mapi-send-problem/</link>
		<comments>http://www.sliqtools.co.uk/blog/windows-help/windows-mail-on-vista-simple-mapi-send-problem/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 17:53:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Help]]></category>

		<guid isPermaLink="false">http://www.sliqtools.co.uk/blog/?p=15</guid>
		<description><![CDATA[If your application will not send emails using Windows Mail on Windows Vista, it&#8217;s worth checking if Windows Mail is set as the default email client. To check if Windows Mail is set as the default:

Run Windows Mail by clicking Vista&#8217;s Start button then choosing All Programs. Then click on Windows Mail.
When Windows Mail appears, [...]]]></description>
			<content:encoded><![CDATA[<p>If your application will not send emails using Windows Mail on Windows Vista, it&#8217;s worth checking if Windows Mail is set as the default email client. To check if Windows Mail is set as the default:</p>
<ol>
<li>Run Windows Mail by clicking Vista&#8217;s <strong>Start</strong> button then choosing <strong>All Programs. </strong>Then click on <strong>Windows Mail</strong>.</li>
<li>When Windows Mail appears, click on its <strong>Tools</strong> menu and choose <strong>Options</strong>.</li>
<li>In the General tab, look under the Default Messaging Programs section at the bootm. If the <strong>Make Default</strong> button next to &#8220;This application is the default Mail handler&#8221; is checked, Windows Mail should be the default email client on the PC.</li>
<li>If the <strong>Make Default</strong> button is enabled, press it to make Windows Mail the default on your PC.</li>
<li>Click <strong>OK</strong> to close the Options dialog.</li>
</ol>
<p>It&#8217;s also worth checking the default settings in Vista&#8217;s start menu &#8230;</p>
<ol>
<li>Click on Vista&#8217;s <strong>Start</strong> button then choose the <strong>Default Programs</strong> option.</li>
<li>Choose the <strong>Set your default programs</strong> option.</li>
<li>In the window that appears, choose <strong>Windows Mail</strong>.</li>
<li>Click the <strong>Set this program as default</strong> option that appears on the bottom right of the window.</li>
</ol>
<p>After following the procedures above, if Windows Mail should work properly when another application on your PC uses Window&#8217;s Simple MAPI service to send emails.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sliqtools.co.uk/blog/windows-help/windows-mail-on-vista-simple-mapi-send-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Splitting a time value into day, hour, mins, secs in PHP</title>
		<link>http://www.sliqtools.co.uk/blog/php/splitting-a-time-value-into-day-hour-mins-secs-in-php/</link>
		<comments>http://www.sliqtools.co.uk/blog/php/splitting-a-time-value-into-day-hour-mins-secs-in-php/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 06:36:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.sliqtools.co.uk/blog/php/splitting-a-time-value-into-day-hour-mins-secs-in-php/</guid>
		<description><![CDATA[I&#8217;ve been writing a new webpage that calculates the time left before a user license period expires. I wanted to display the time as a countdown of the number of days left before the license runs out. I couldn&#8217;t find an off-the-shelf PHP function to do the job so I quickly wrote the function below.

/* [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been writing a new webpage that calculates the time left before a user license period expires. I wanted to display the time as a countdown of the number of days left before the license runs out. I couldn&#8217;t find an off-the-shelf PHP function to do the job so I quickly wrote the function below.<br />
<code><br />
/* This function takes a PHP time value and returns the duration as an array<br />
with 4 elements -<br />
element 0 = days<br />
element 1 = hours<br />
element 2 = minutes<br />
element 3 = seconds<br />
*/<br />
function DurationInDHMS($timeduration)<br />
{<br />
    $days = floor($timeduration / 86400);<br />
    $timeduration = $timeduration - ($days * 86400);<br />
    $hours = floor($timeduration / 3600);<br />
    $timeduration = $timeduration - ($hours * 3600);<br />
    $minutes = floor($timeduration / 60);<br />
    $seconds = $timeduration - ($minutes * 60);<br />
    return array($days, $hours, $minutes, $seconds);<br />
}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sliqtools.co.uk/blog/php/splitting-a-time-value-into-day-hour-mins-secs-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
