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
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: 759
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