Java tutorial
import java.text.SimpleDateFormat; import java.util.Date; public class Main { public static void main(String[] args) throws Exception { long yourmilliseconds = 1119193123; SimpleDateFormat sdf = new SimpleDateFormat("MMM dd,yyyy HH:mm:ss.SSS"); Date resultdate = new Date(yourmilliseconds); System.out.println(sdf.format(resultdate)); } }