What is difference between SQL Date and Util Date Java

Tutorials Shared by the Internet Community

Advertisements


Synopsis

http://javarevisited.blogspot.com/2012/04/difference-between-javautildate-and.html

Statistics

  • Total Hits - 20492

  • Total Votes - 110 votes

  • Vote Up - 44 votes

  • Vote Down - 66 votes

  • Domain - javarevisited.blogspot.com

  • Category - JAVA/JDBC

  • Submitted By - Javin Paul

  • Submitted on - 2012-08-04 13:52:42

Description

Java system library has two date classes one is java.sql.Date and other is java.util.Date , why do you have two date classes in java? because sql date mapped with ANSI SQLdate object, it also highlight the main difference that sql date can not represent time details ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements