Here you can find the source of UTCToDate(long utcValue)
public static Date UTCToDate(long utcValue)
//package com.java2s; //License from project: Apache License import java.util.Calendar; import java.util.Date; public class Main { public static Date UTCToDate(long utcValue) { Date date = null;/* w ww . ja v a 2 s .c o m*/ Calendar calendar = Calendar.getInstance(); calendar.set(1970, 0, 1, 8, 0, 0); long start = calendar.getTimeInMillis(); long end = start + 1000 * utcValue; date = new Date(end); return date; } }