A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
Date conversion Milli sec to Date format
Joined: Apr 04, 2007
Apr 04, 2007 10:58:00
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
and not sql?
Joined: Aug 21, 2004
Apr 04, 2007 12:09:00
Welcome to JavaRanch Anshul
answer your question.
Jim Yingst gave a nice solution for what you are looking for
SCJP, SCJD, SCWCD, SCBCD
Author and ninkuma
Joined: Jan 10, 2002
Apr 04, 2007 13:16:00
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.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Date conversion Milli sec to Date format
Display Records from Database Column for given Order?
Issue with java.util.Calendar in java1.5 & above
Insert date using SQL task
Default Date format issue in ojdbc6
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014