<?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: Inserting value in SQL Server’s datetime by java.sql.Timstamp</title>
	<atom:link href="http://www.pakzilla.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pakzilla.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/</link>
	<description>A blog on Programming, Web and Technology</description>
	<lastBuildDate>Mon, 06 Sep 2010 06:19:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tahir Akram</title>
		<link>http://www.pakzilla.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/comment-page-1/#comment-24</link>
		<dc:creator>Tahir Akram</dc:creator>
		<pubDate>Mon, 22 Dec 2008 07:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://itoday.wordpress.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/#comment-24</guid>
		<description>Hi nitin;

Thanks for your comments.</description>
		<content:encoded><![CDATA[<p>Hi nitin;</p>
<p>Thanks for your comments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nitin</title>
		<link>http://www.pakzilla.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/comment-page-1/#comment-25</link>
		<dc:creator>nitin</dc:creator>
		<pubDate>Mon, 22 Dec 2008 07:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://itoday.wordpress.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/#comment-25</guid>
		<description>I think this code should be enough...

&lt;code&gt;
public static Timestamp getTodayTimestamp ()
{
      Calendar calendar=Calendar.getInstance();
      Timestamp timeStamp = new Timestamp(calendar.getTimeInMillis());
      return timeStamp;
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I think this code should be enough&#8230;</p>
<p><code><br />
public static Timestamp getTodayTimestamp ()<br />
{<br />
      Calendar calendar=Calendar.getInstance();<br />
      Timestamp timeStamp = new Timestamp(calendar.getTimeInMillis());<br />
      return timeStamp;<br />
}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny Arica</title>
		<link>http://www.pakzilla.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/comment-page-1/#comment-26</link>
		<dc:creator>Danny Arica</dc:creator>
		<pubDate>Thu, 30 Oct 2008 22:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://itoday.wordpress.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/#comment-26</guid>
		<description>Muy buen Dato estimado Amigo, estaba teniendo problemas, por que necesitaba conocer fecha y hora de transaccion.
Gracias</description>
		<content:encoded><![CDATA[<p>Muy buen Dato estimado Amigo, estaba teniendo problemas, por que necesitaba conocer fecha y hora de transaccion.<br />
Gracias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marshall</title>
		<link>http://www.pakzilla.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/comment-page-1/#comment-23</link>
		<dc:creator>marshall</dc:creator>
		<pubDate>Tue, 20 Nov 2007 21:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://itoday.wordpress.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/#comment-23</guid>
		<description>Silly me, I see now that you are using the java.sql.Time and not Timestamp.  I&#039;m so used to seeing Timestamp I just glossed over that part.  Good example of how to use the SimpleDateFormat.  I never did understand how to use it just by looking at the javadoc.</description>
		<content:encoded><![CDATA[<p>Silly me, I see now that you are using the java.sql.Time and not Timestamp.  I&#8217;m so used to seeing Timestamp I just glossed over that part.  Good example of how to use the SimpleDateFormat.  I never did understand how to use it just by looking at the javadoc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marshall</title>
		<link>http://www.pakzilla.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/comment-page-1/#comment-22</link>
		<dc:creator>marshall</dc:creator>
		<pubDate>Tue, 20 Nov 2007 21:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://itoday.wordpress.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/#comment-22</guid>
		<description>Uh....according to the javadoc for java.sql.Timestamp the ToString function returns a String object in yyyy-mm-dd hh:mm:ss.fffffffff format.

So the sqlTime.toString() function should be sufficient, it works for me with mysql.</description>
		<content:encoded><![CDATA[<p>Uh&#8230;.according to the javadoc for java.sql.Timestamp the ToString function returns a String object in yyyy-mm-dd hh:mm:ss.fffffffff format.</p>
<p>So the sqlTime.toString() function should be sufficient, it works for me with mysql.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bobby1234</title>
		<link>http://www.pakzilla.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/comment-page-1/#comment-21</link>
		<dc:creator>bobby1234</dc:creator>
		<pubDate>Sat, 12 May 2007 13:51:57 +0000</pubDate>
		<guid isPermaLink="false">http://itoday.wordpress.com/2007/04/08/inserting-value-in-sql-server%e2%80%99s-datetime-by-javasqltimstamp/#comment-21</guid>
		<description>Hi

that works a treat... thanks very much...

dates are a pain ... and dates between java and sql are worse...

this code did the business for me thanks</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>that works a treat&#8230; thanks very much&#8230;</p>
<p>dates are a pain &#8230; and dates between java and sql are worse&#8230;</p>
<p>this code did the business for me thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
