Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JDBC and Relational Databases
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JDBC and Relational Databases
Convert sql date to util date
Marty Das
Greenhorn
Posts: 6
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How do I convert an sql date to util date?
Jamie Robertson
Ranch Hand
Posts: 1879
I like...
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
java.util.Date util_date = new java.util.Date(); java.sql.Date sql_date = new java.sql.Date( util_date.getTime() );
[ January 10, 2003: Message edited by: Jamie Robertson ]
Don Kiddick
Ranch Hand
Posts: 580
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Why would you want to ? A java.sql.Date
is a
java.util.Date .
T.
Marty Das
Greenhorn
Posts: 6
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks it worked!
It will give me the powers of the gods. Not bad for a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Comparing two Dates
how do i get todays dat without the time
How to fetch Date Field from excel sheet in Java
sql date convert
converting Date to String
More...