public void setTime (long time)

Sets this Date object to represent a point in time that is time milliseconds after January 1, 1970 00:00:00 GMT.

Parameters:
time    the number of milliseconds.