File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jun 09, 2001
Jul 18, 2001 20:28:00
a given long millisecond value...
how can i get the date and time
like 07-12-01 (date) and 12:00:00 (time)
thank u very much....
Joined: Mar 06, 2001
Jul 18, 2001 20:59:00
You're looking for java.util.Date to cretae a Date from the miliseconds, then jvaa.text.SimpleDateFormat (extends java.text.DateFormat so you can use its functionality as well)
I agree. Here's the link:
Validate date and time in locat time.
Saving system date
Unable to fetch records by using 'where' clause for a date type field in sql
Date comparision in SQL from timestamp
how to get the response time
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014