<?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"
	>
<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>
	<pubDate>Fri, 08 Aug 2008 00:59:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: saikat78</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/#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-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'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-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-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 "m" in your format string means minute, not month. Try using "M".</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-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("mm/dd/yyyy");
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-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-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>
	<item>
		<title>By: Bandana</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/#comment-38946</link>
		<dc:creator>Bandana</dc:creator>
		<pubDate>Tue, 09 Oct 2007 09:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-38946</guid>
		<description>how to convert date in yymmmdd format to mm/dd/yy format in java like Convert '97Jan02' to 01/02/97</description>
		<content:encoded><![CDATA[<p>how to convert date in yymmmdd format to mm/dd/yy format in java like Convert &#8216;97Jan02&#8242; to 01/02/97</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: makay</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/#comment-38507</link>
		<dc:creator>makay</dc:creator>
		<pubDate>Sun, 30 Sep 2007 09:39:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-38507</guid>
		<description>"Last morning this post saved my life".

Thank u very much. I think Java dates management is too obscure and complex.</description>
		<content:encoded><![CDATA[<p>&#8220;Last morning this post saved my life&#8221;.</p>
<p>Thank u very much. I think Java dates management is too obscure and complex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom C</title>
		<link>http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/#comment-38117</link>
		<dc:creator>Tom C</dc:creator>
		<pubDate>Mon, 24 Sep 2007 19:42:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050414/javasqldate-is-not-a-real-date#comment-38117</guid>
		<description>Thanks a lot for this posting! It saved me a lot of time trying........</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this posting! It saved me a lot of time trying&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
