A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Joined: Nov 14, 2006
Dec 12, 2006 09:06:00
I want to convert the return value in a "human readable value"
Is there any function to convert to that form?
Returns: A long value representing the time the file was last modified, measured in milliseconds since the epoch (00:00:00 GMT, January 1, 1970), or 0L if the file does not exist or if an I/O error occurs
author and iconoclast
Joined: Jul 08, 2003
Dec 12, 2006 09:14:00
(theValue).toString()" is the most direct way. There are plenty of other things you can do to have control over the format.
[Jess in Action]
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: file.lastModified() question
add 10 days to currentDate in java.util.Date or cast to Calendar?
back ground process id ??
calendar to date and timezone
'07/01/2010' could not be understood as a date.
unable to retrieve timestamp in my servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013