File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Date conversion Milli sec to Date format

 
Anshul Sinha
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I an stuck at a simple issue...
I want to convert the date in millisec eg. 11124400000 to normal date format..eg. 2/3/2007

I am trying thr sql querry but cant fetch the result from resultset

is it possible to solve it without using sql querries like FROM_DAYS()...using only java and not sql?
 
Darya Akbari
Ranch Hand
Posts: 1855
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch Anshul ,

maybe this thread answer your question.

Jim Yingst gave a nice solution for what you are looking for

Regards,
Darya
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anshul Sinha, please take the time to choose the correct forum for your posts. This forum is for questions on Advanced Java.

This post has been moved to a more appropriate forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic