<?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: UNIX Time and UNIX Timestamps</title>
	<atom:link href="http://www.lifeaftercoffee.com/2006/04/18/unix-time-and-unix-timestamps/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lifeaftercoffee.com/2006/04/18/unix-time-and-unix-timestamps/</link>
	<description>because I don't believe in life before coffee...</description>
	<lastBuildDate>Wed, 23 Nov 2011 03:01:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mike</title>
		<link>http://www.lifeaftercoffee.com/2006/04/18/unix-time-and-unix-timestamps/comment-page-1/#comment-379966</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 27 Aug 2011 22:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.lifeaftercoffee.com/2006/04/18/unix-time-and-unix-timestamps/#comment-379966</guid>
		<description>I wrote up a handy utility for developers that need to convert unix timestamps frequently: http://www.unixstamp.com

It&#039;s a wrapper for the strtotime() function so you can convert pretty much anything:
unixstamp.com/1234567
unixstamp.com/last+tuesday
unixstamp.com/2012/10/15

Hope you find it useful!</description>
		<content:encoded><![CDATA[<p>I wrote up a handy utility for developers that need to convert unix timestamps frequently: <a href="http://www.unixstamp.com" rel="nofollow">http://www.unixstamp.com</a></p>
<p>It&#8217;s a wrapper for the strtotime() function so you can convert pretty much anything:<br />
unixstamp.com/1234567<br />
unixstamp.com/last+tuesday<br />
unixstamp.com/2012/10/15</p>
<p>Hope you find it useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.lifeaftercoffee.com/2006/04/18/unix-time-and-unix-timestamps/comment-page-1/#comment-4806</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Mon, 04 Sep 2006 17:55:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.lifeaftercoffee.com/2006/04/18/unix-time-and-unix-timestamps/#comment-4806</guid>
		<description>Jim,

Yes, if multiple processes ask for the UNIX timestamp durring the same second they will get the exact same timestamp.  Because of this it is almost always a bad idea to use a date or timestamp for a primary key.

If this is a database you will want to set up an auto-increment in one way or another.  The methods vary by database, but if it&#039;s Oracle I have directions posted here:

http://www.lifeaftercoffee.com/2006/02/17/how-to-create-auto-increment-columns-in-oracle/

Hope this helps.</description>
		<content:encoded><![CDATA[<p>Jim,</p>
<p>Yes, if multiple processes ask for the UNIX timestamp durring the same second they will get the exact same timestamp.  Because of this it is almost always a bad idea to use a date or timestamp for a primary key.</p>
<p>If this is a database you will want to set up an auto-increment in one way or another.  The methods vary by database, but if it&#8217;s Oracle I have directions posted here:</p>
<p><a href="http://www.lifeaftercoffee.com/2006/02/17/how-to-create-auto-increment-columns-in-oracle/" rel="nofollow">http://www.lifeaftercoffee.com/2006/02/17/how-to-create-auto-increment-columns-in-oracle/</a></p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Cronin</title>
		<link>http://www.lifeaftercoffee.com/2006/04/18/unix-time-and-unix-timestamps/comment-page-1/#comment-4527</link>
		<dc:creator>Jim Cronin</dc:creator>
		<pubDate>Thu, 31 Aug 2006 15:16:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.lifeaftercoffee.com/2006/04/18/unix-time-and-unix-timestamps/#comment-4527</guid>
		<description>I have a question for anyone, regarding the use of Unix Epoc time as a &quot;guaranteed, unique&quot; record ID.  I manage a system in a non-Unix environment that utilizes a similar &quot;time stamp&quot;, using an internal 5-digit date, concatenated with seconds-since-midnight.  If I wish to use this stamp as a record ID, I have to expect that other requests are being made for the time-date stamp, and may find an alpha character appended (1411035660a).  I have actual examples of this scenario where the letter &quot;p&quot; has been appended, meaning 15 other applications were asking for time-date stamp, simultaneously.  At the speed of today&#039;s processors, this can be expected.  In another test, I wrote the time-date, 10-digit stamp to a file with 56,000+ records, all in 7 seconds.  Meaning, 8000+ records got the same time-date stam, except for an appendage of 3-character alpha (aaa - zzz).  This being said, is there a similar problem that I could expect from using the Unix Epoch 10-digit stamp, where I want this to be a &quot;unique&quot; identifier?  In other words, if multiple processes, per second, ask for Unix Epoch, will they all get the same response?

I hope I have explained my problem clearly.  Thanks, in advance, for any responses.


Jim Cronin</description>
		<content:encoded><![CDATA[<p>I have a question for anyone, regarding the use of Unix Epoc time as a &#8220;guaranteed, unique&#8221; record ID.  I manage a system in a non-Unix environment that utilizes a similar &#8220;time stamp&#8221;, using an internal 5-digit date, concatenated with seconds-since-midnight.  If I wish to use this stamp as a record ID, I have to expect that other requests are being made for the time-date stamp, and may find an alpha character appended (1411035660a).  I have actual examples of this scenario where the letter &#8220;p&#8221; has been appended, meaning 15 other applications were asking for time-date stamp, simultaneously.  At the speed of today&#8217;s processors, this can be expected.  In another test, I wrote the time-date, 10-digit stamp to a file with 56,000+ records, all in 7 seconds.  Meaning, 8000+ records got the same time-date stam, except for an appendage of 3-character alpha (aaa &#8211; zzz).  This being said, is there a similar problem that I could expect from using the Unix Epoch 10-digit stamp, where I want this to be a &#8220;unique&#8221; identifier?  In other words, if multiple processes, per second, ask for Unix Epoch, will they all get the same response?</p>
<p>I hope I have explained my problem clearly.  Thanks, in advance, for any responses.</p>
<p>Jim Cronin</p>
]]></content:encoded>
	</item>
</channel>
</rss>

