<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Integrating SDM 1.6</title>
	<atom:link href="http://muttznutz.net/muttzblog/suunto-dive-manager/integrating-sdm-16/feed" rel="self" type="application/rss+xml" />
	<link>http://muttznutz.net/muttzblog</link>
	<description>Underwater photography by Andy Kirkland</description>
	<lastBuildDate>Sat, 14 May 2011 15:55:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: www.muttznutz.net &#187; Blog Archive &#187; Album re-engineering again &#8230;</title>
		<link>http://muttznutz.net/muttzblog/suunto-dive-manager/integrating-sdm-16#comment-279</link>
		<dc:creator>www.muttznutz.net &#187; Blog Archive &#187; Album re-engineering again &#8230;</dc:creator>
		<pubDate>Sun, 11 Oct 2009 22:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://muttznutz.net/muttzblog/suunto-dive-manager/integrating-sdm-16/#comment-279</guid>
		<description>[...] now set up the database (which I first wrote about 3 years ago) on the webserver. This is now queried &#8220;on demand&#8221;, and I&#8217;ll be [...]</description>
		<content:encoded><![CDATA[<p>[...] now set up the database (which I first wrote about 3 years ago) on the webserver. This is now queried &#8220;on demand&#8221;, and I&#8217;ll be [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: muttznutz</title>
		<link>http://muttznutz.net/muttzblog/suunto-dive-manager/integrating-sdm-16#comment-42</link>
		<dc:creator>muttznutz</dc:creator>
		<pubDate>Tue, 21 Aug 2007 01:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://muttznutz.net/muttzblog/suunto-dive-manager/integrating-sdm-16/#comment-42</guid>
		<description>OK, so I&#039;ve reworked this on my new PC (so ... setting up from scratch) and the following may help if you have problems ...

First ... if you&#039;re having problems with the date or time formats, here&#039;s how mine are set up.
Windows Control Panel : Go into &#039;Regional and Language Settings&#039;, click on &#039;Customise&#039;,then on the &#039;Date&#039; tab. The &#039;Short Date&#039; format should be &#039;yyyy-MM-dd&#039;. Under the &#039;Time&#039; tab, the &#039;Time Format&#039; is &#039;HH:mm:ss&#039; (this switches to 24 hr. clock).
You&#039;ll need to re-export your .csv file after changing the settings.

Secondly ... I was getting errors on my Dive Time conversion, and found that the complex cast functions in the code above can be replaced by the MySQL SEC_TO_TIME() function.
So the &#039;Update&#039; statements above can be replaced with the following :

[code lang=&quot;sql&quot;]update divelogs.`DiveLog`
set Surface_Interval = SEC_TO_TIME(Surface_Interval_Seconds),
Dive_Time = SEC_TO_TIME(Dive_Time_Seconds);[/code]

.... much easier, eh?</description>
		<content:encoded><![CDATA[<p>OK, so I&#8217;ve reworked this on my new PC (so &#8230; setting up from scratch) and the following may help if you have problems &#8230;</p>
<p>First &#8230; if you&#8217;re having problems with the date or time formats, here&#8217;s how mine are set up.<br />
Windows Control Panel : Go into &#8216;Regional and Language Settings&#8217;, click on &#8216;Customise&#8217;,then on the &#8216;Date&#8217; tab. The &#8216;Short Date&#8217; format should be &#8216;yyyy-MM-dd&#8217;. Under the &#8216;Time&#8217; tab, the &#8216;Time Format&#8217; is &#8216;HH:mm:ss&#8217; (this switches to 24 hr. clock).<br />
You&#8217;ll need to re-export your .csv file after changing the settings.</p>
<p>Secondly &#8230; I was getting errors on my Dive Time conversion, and found that the complex cast functions in the code above can be replaced by the MySQL SEC_TO_TIME() function.<br />
So the &#8216;Update&#8217; statements above can be replaced with the following :</p>
<div class="codesnip-container" >
<div class="sql codesnip" style="font-family:monospace;"><span class="kw1">UPDATE</span> divelogs<span class="sy0">.</span><span class="st0">`DiveLog`</span><br />
<span class="kw1">SET</span> Surface_Interval <span class="sy0">=</span> SEC_TO_TIME<span class="br0">&#40;</span>Surface_Interval_Seconds<span class="br0">&#41;</span><span class="sy0">,</span><br />
Dive_Time <span class="sy0">=</span> SEC_TO_TIME<span class="br0">&#40;</span>Dive_Time_Seconds<span class="br0">&#41;</span>;</div>
</div>
<p>&#8230;. much easier, eh?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

