I have the following Long variable holding epoch value in seconds, which I\'m trying to convert into a Date.
Long
Date
val seconds = 1341855763000
The value you have is not in seconds but in milliseconds. Remove the "seconds to millis" conversion.
val milliSeconds = 1341855763000 val date = Date(milliSeconds)