aspose file tools*
The moose likes Servlets and the fly likes unable to retrieve timestamp in my servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "unable to retrieve timestamp in my servlet" Watch "unable to retrieve timestamp in my servlet" New topic
Author

unable to retrieve timestamp in my servlet

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 751
Hi

I'm using mysql as my backend. and when i say rs.getString("create_date"); in my sql its giving error.

the create_date field is of data type TIME STAMP which has the format
0000-00-00 00:00:00

is there anyway out i can get the date in the format 0000-00-00 or i can store the while timestamp value in the format 0000-00-00 00:00:00


Jigar Naik


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to retrieve timestamp in my servlet
 
Similar Threads
Hexadecimal to decimal
unable to retrieve timestamp in my servlet
how to insert timestamp into derby databse
Problem while converting datatime to timestamp
add 10 days to currentDate in java.util.Date or cast to Calendar?