A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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:
subject: file.lastModified() question
calendar to date and timezone
unable to retrieve timestamp in my servlet
'07/01/2010' could not be understood as a date.
add 10 days to currentDate in java.util.Date or cast to Calendar?
back ground process id ??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013