Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

TIMEDATE???  RSS feed

 
Younes Essouabni
Ranch Hand
Posts: 479
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did a quick search on TIMEDATE but I didn't found anything relevant.
Could you tell me what is the equivalent of sql type TIMEDATE (database access) in Java�.
Thx a lot
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Younes Essouabni:
I did a quick search on TIMEDATE but I didn't found anything relevant.
Could you tell me what is the equivalent of sql type TIMEDATE (database access) in Java�.
Thx a lot

java.sql.Date(used in conjuction with java.util.Date in your programming logic) has date and time portions to it and can be mapped to a timedate field in access. Also, you could use java.sql.timestamp(again, in conjunction with java.util.Date in your programming logic).
Jamie
 
Younes Essouabni
Ranch Hand
Posts: 479
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thx a lot!!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!