I\'m having trouble in converting a unix time into GMT.
I have the following code, but I would like to know how to vice versa it.
public static Str
Try this
Date d = new Date(1308670980000L); SimpleDateFormat f = new SimpleDateFormat("dd.MM.yyyy,HH:mm"); f.setTimeZone(TimeZone.getTimeZone("GMT")); String s = f.format(d);