HI
I like to know why there are two Date classes in two different packages one in java.util.Date and one in java.sql.Date?
Whats the use of having two Date classes?
HI I like to know why there are two Date classes in two different
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
java.util.Dateis Java’s Date data type.java.sql.Dateis a JDBC wrapper for SQL dates.The two are represented completely differently internally..NET has the same concepts (but a better naming convention to differentiate the two in my opinion) with
System.DataTimeandSystem.Data.SqlTypes.SqlDateTime