What does your long value represents ?
In case it represents the number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT, then you can use the corresponding [url=http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html#Date(long)]Date[/url] constructor.