<?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: Storing Milliseconds in MySQL</title>
	<atom:link href="http://altentee.com/2009/storing-milliseconds-in-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://altentee.com/2009/storing-milliseconds-in-mysql/</link>
	<description>Performance and Test Automation Experts</description>
	<lastBuildDate>Fri, 13 Aug 2010 04:08:44 +1000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Darren Cassar</title>
		<link>http://altentee.com/2009/storing-milliseconds-in-mysql/comment-page-1/#comment-7817</link>
		<dc:creator>Darren Cassar</dc:creator>
		<pubDate>Tue, 08 Jun 2010 01:50:43 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/storing-milliseconds-in-mysql/#comment-7817</guid>
		<description>What I think is an easier solution is to use decimal(17,3) to store the timestamp including the millisecond value in a single column as shown here: http://mysqlpreacher.com/wordpress/2009/08/once-upon-a-timestampmilliseconds/
Generating a millisecond value can be done using UDFs: http://bugs.mysql.com/bug.php?id=8523

Darren</description>
		<content:encoded><![CDATA[<p>What I think is an easier solution is to use decimal(17,3) to store the timestamp including the millisecond value in a single column as shown here: <a href="http://mysqlpreacher.com/wordpress/2009/08/once-upon-a-timestampmilliseconds/" rel="nofollow">http://mysqlpreacher.com/wordpress/2009/08/once-upon-a-timestampmilliseconds/</a><br />
Generating a millisecond value can be done using UDFs: <a href="http://bugs.mysql.com/bug.php?id=8523" rel="nofollow">http://bugs.mysql.com/bug.php?id=8523</a></p>
<p>Darren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shashank Acharya</title>
		<link>http://altentee.com/2009/storing-milliseconds-in-mysql/comment-page-1/#comment-2126</link>
		<dc:creator>Shashank Acharya</dc:creator>
		<pubDate>Thu, 11 Mar 2010 11:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/storing-milliseconds-in-mysql/#comment-2126</guid>
		<description>I want straight forward way to retrieve &amp; insert the time in milliseconds</description>
		<content:encoded><![CDATA[<p>I want straight forward way to retrieve &amp; insert the time in milliseconds</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://altentee.com/2009/storing-milliseconds-in-mysql/comment-page-1/#comment-295</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 03 Aug 2009 05:52:09 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/storing-milliseconds-in-mysql/#comment-295</guid>
		<description>@Jerry

Math works both ways. So if you have 2313ms coming in, we can do (pseudocode)

ms_in     = 2313;
put_dt_ms = ms_in%1000;
put_dt    = SEC_TO_TIME((ms_in-put_dt_ms)/1000);

-Joe</description>
		<content:encoded><![CDATA[<p>@Jerry</p>
<p>Math works both ways. So if you have 2313ms coming in, we can do (pseudocode)</p>
<p>ms_in     = 2313;<br />
put_dt_ms = ms_in%1000;<br />
put_dt    = SEC_TO_TIME((ms_in-put_dt_ms)/1000);</p>
<p>-Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry</title>
		<link>http://altentee.com/2009/storing-milliseconds-in-mysql/comment-page-1/#comment-294</link>
		<dc:creator>Jerry</dc:creator>
		<pubDate>Tue, 05 May 2009 15:00:23 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/storing-milliseconds-in-mysql/#comment-294</guid>
		<description>This is the clsoest to a solution I have been able to find.

The next issue is once you have done your math comparisons, how do you convert the value back into Time and MSec fields in order to insert them back into the table?</description>
		<content:encoded><![CDATA[<p>This is the clsoest to a solution I have been able to find.</p>
<p>The next issue is once you have done your math comparisons, how do you convert the value back into Time and MSec fields in order to insert them back into the table?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://altentee.com/2009/storing-milliseconds-in-mysql/comment-page-1/#comment-293</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Wed, 18 Feb 2009 08:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/storing-milliseconds-in-mysql/#comment-293</guid>
		<description>Yes, but this is only half of the problem (and the easiest half): the other is that the function NOW() doens&#039;t retrieve the milli/micro seconds, but only seconds. So How you get the microseconds? There is now solution other than the UDF posted the in the bug thread.</description>
		<content:encoded><![CDATA[<p>Yes, but this is only half of the problem (and the easiest half): the other is that the function NOW() doens&#8217;t retrieve the milli/micro seconds, but only seconds. So How you get the microseconds? There is now solution other than the UDF posted the in the bug thread.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Summer</title>
		<link>http://altentee.com/2009/storing-milliseconds-in-mysql/comment-page-1/#comment-292</link>
		<dc:creator>Summer</dc:creator>
		<pubDate>Wed, 04 Feb 2009 23:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/storing-milliseconds-in-mysql/#comment-292</guid>
		<description>ok but then how the heck are you getting the micromilli secs in your columns? Are you running a counter?</description>
		<content:encoded><![CDATA[<p>ok but then how the heck are you getting the micromilli secs in your columns? Are you running a counter?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
