<?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: java.sql.Date is not a real date</title>
	<atom:link href="http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/</link>
	<description>Software, the Internet and you.</description>
	<lastBuildDate>Thu, 11 Mar 2010 10:40:57 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 士大夫个</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/comment-page-2/#comment-94056</link>
		<dc:creator>士大夫个</dc:creator>
		<pubDate>Fri, 14 Aug 2009 06:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-94056</guid>
		<description>爱到发烧阿什发</description>
		<content:encoded><![CDATA[<p>爱到发烧阿什发</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CN-Lu</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/comment-page-2/#comment-94050</link>
		<dc:creator>CN-Lu</dc:creator>
		<pubDate>Fri, 14 Aug 2009 04:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-94050</guid>
		<description>Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Java Timestamp in SQL &#124; keyongtech</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/comment-page-2/#comment-82695</link>
		<dc:creator>Java Timestamp in SQL &#124; keyongtech</dc:creator>
		<pubDate>Thu, 22 Jan 2009 07:03:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-82695</guid>
		<description>[...] new java.sql.Timestamp(date.getTime())); // java.sql.Timestamp is not a date   // MORE INFO GO TO http://www.thunderguy.com/semicolon/...t-a-real-date/   // GET BACK timestamp from DB  // result set   java.sql.Timestamp timestamp = [...]</description>
		<content:encoded><![CDATA[<p>[...] new java.sql.Timestamp(date.getTime())); // java.sql.Timestamp is not a date   // MORE INFO GO TO <a href="http://www.thunderguy.com/semicolon/...t-a-real-date/" rel="nofollow">http://www.thunderguy.com/semicolon/&#8230;t-a-real-date/</a>   // GET BACK timestamp from DB  // result set   java.sql.Timestamp timestamp = [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saikat78</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/comment-page-2/#comment-69488</link>
		<dc:creator>saikat78</dc:creator>
		<pubDate>Sun, 11 May 2008 09:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-69488</guid>
		<description>Hi,
I want to store a datetime in entity(of JPA)(via controller processing).In entity date is simply   
in Date(date in Oracle). But i want to store date with time. Date becomes from JSF form via entity bean(in request scope).What should I do??</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I want to store a datetime in entity(of JPA)(via controller processing).In entity date is simply<br />
in Date(date in Oracle). But i want to store date with time. Date becomes from JSF form via entity bean(in request scope).What should I do??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oscar Agyei</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/comment-page-2/#comment-67380</link>
		<dc:creator>Oscar Agyei</dc:creator>
		<pubDate>Sat, 03 May 2008 14:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-67380</guid>
		<description>Hi,
  I&#039;ve read most of your script and it has been  
helpful to me, I need a help. I an new in coding and I have been given an assignment to develop a loan application software with Netbeans 6.0 using java codes please I need your help.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
  I&#8217;ve read most of your script and it has been<br />
helpful to me, I need a help. I an new in coding and I have been given an assignment to develop a loan application software with Netbeans 6.0 using java codes please I need your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JM</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/comment-page-2/#comment-65197</link>
		<dc:creator>JM</dc:creator>
		<pubDate>Fri, 25 Apr 2008 22:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-65197</guid>
		<description>Great! I swore for a while trying to get this done.

Thanks!</description>
		<content:encoded><![CDATA[<p>Great! I swore for a while trying to get this done.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bennett</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/comment-page-2/#comment-58312</link>
		<dc:creator>Bennett</dc:creator>
		<pubDate>Thu, 10 Apr 2008 10:08:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-58312</guid>
		<description>Randomiser, The &quot;m&quot; in your format string means minute, not month. Try using &quot;M&quot;.</description>
		<content:encoded><![CDATA[<p>Randomiser, The &#8220;m&#8221; in your format string means minute, not month. Try using &#8220;M&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: randomiser</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/comment-page-1/#comment-58184</link>
		<dc:creator>randomiser</dc:creator>
		<pubDate>Wed, 09 Apr 2008 21:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-58184</guid>
		<description>Seeing something weird; when input date to java.sql.Date, am getting return in which month is always 1; as in:

Date dateOfBirth = null;
SimpleDateFormat dateFmt = new SimpleDateFormat(&quot;mm/dd/yyyy&quot;);
Timestamp disableDate = new Timestamp(dateFmt.parse(((String) e.getValue()).trim()).getTime());
dateOfBirth = new java.sql.Date(disableDate.getTime())


where dateOfBirth is 07/06/1956, I consistently get 1956-01-06

Any particular reason for this?

thnx</description>
		<content:encoded><![CDATA[<p>Seeing something weird; when input date to java.sql.Date, am getting return in which month is always 1; as in:</p>
<p>Date dateOfBirth = null;<br />
SimpleDateFormat dateFmt = new SimpleDateFormat(&#8221;mm/dd/yyyy&#8221;);<br />
Timestamp disableDate = new Timestamp(dateFmt.parse(((String) e.getValue()).trim()).getTime());<br />
dateOfBirth = new java.sql.Date(disableDate.getTime())</p>
<p>where dateOfBirth is 07/06/1956, I consistently get 1956-01-06</p>
<p>Any particular reason for this?</p>
<p>thnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xiaobai</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/comment-page-1/#comment-46727</link>
		<dc:creator>xiaobai</dc:creator>
		<pubDate>Fri, 22 Feb 2008 15:05:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-46727</guid>
		<description>i am chinese boy,and i an english poor,but i want to say thank you!</description>
		<content:encoded><![CDATA[<p>i am chinese boy,and i an english poor,but i want to say thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vedavati</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/comment-page-1/#comment-41387</link>
		<dc:creator>vedavati</dc:creator>
		<pubDate>Thu, 22 Nov 2007 13:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-41387</guid>
		<description>Sir,
i have one doubt, i am using struts 2.1 datepicker tag. how this date get converted into sql3 date format.Please reply the solution. 
in advance thanx.</description>
		<content:encoded><![CDATA[<p>Sir,<br />
i have one doubt, i am using struts 2.1 datepicker tag. how this date get converted into sql3 date format.Please reply the solution.<br />
in advance thanx.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
