• Post Reply Bookmark Topic Watch Topic
  • New Topic

TIMEDATE???

 
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!!!
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!