These are some readers' responses. Read the full article to see what all the fuss is about.
-
Popular
Categories
- .Net & C# (1)
- Architecture (3)
- C++ (5)
- Coding (4)
- Copyright, etc. (3)
- HTML/CSS (2)
- Java (14)
- JavaScript (6)
- JUnit (3)
- Recommendations (10)
- Risks (8)
- Software projects (2)
- SQL (4)
- Testing (6)
- Tools (5)
- Usability (2)
- Web (5)
- Web publishing (16)
- Windows (1)
- WordPress (27)
24 responses
Other comment pages: « 1 [2]
Hi,
I wanted to know what are the main differences between the java versions 1.3.0 and 1.4.1 or later especially in case of java.util.Date.
In our application previously we were using the java version1.3.0 now we are planning to go for java version1.4.1or later. Is there any code impact on the previous version.
Soori, the Java SDKs contain the library source code. You can compare them yourself to find out all the differences.
Great Job! Very Helpful!
Very good work. Saved my time.
Thanks for the terse and thorough work!
Thanks very much for posting this information. It was really helpful.
I will input data in oracle.
java.sql.Date object,
but, java.sql.Date is “2007-01-02″,
I hope input in oracle, java.sql.Date is “2007-01-02 23:12:50″.
When I convert java.util.Date into java.sql.Date how can I set a default time other than midnight? Specifically, I know that I need to set 12:00 noon. Must I ireriate over every row, or can I set a default?
Thanks in advance.
Very good explanation ! Saved me a lot of grief
Thank you thank you thank you for posting this!!! I had really been struggling with that. You are a lifesaver!
Thanks a lot for this posting! It saved me a lot of time trying……..
“Last morning this post saved my life”.
Thank u very much. I think Java dates management is too obscure and complex.
how to convert date in yymmmdd format to mm/dd/yy format in java like Convert ‘97Jan02′ to 01/02/97
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.
i am chinese boy,and i an english poor,but i want to say thank you!
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
Randomiser, The “m” in your format string means minute, not month. Try using “M”.
Great! I swore for a while trying to get this done.
Thanks!
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.
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??
Other comment pages: « 1 [2]