Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
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:
Java in General
convert SQL TimeStamp to String
shabarish vai
Ranch Hand
Posts: 79
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
how do i convert SQL TimeStamp to
String
22-05-20-2008 14:04:59:612
Campbell Ritchie
Marshal
Posts: 79178
377
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Go through the
API documentation
and look for the toString method, as a first stage.
Rob Spoor
Sheriff
Posts: 22783
131
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
java.sql.Timestamp is a subclass of java.util.Date, so you can use java.text.DateFormat for formatting it.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
time conversion
String to Timestamp conversion
Create a Date object from String
convert data type string to timestamp
Problem with TIMESTAMP(6) WITH LOCAL TIME ZONE
More...