Here you can find the source of GetCurrentTime_UTCMilliSeconds()
public static long GetCurrentTime_UTCMilliSeconds()
//package com.java2s; import java.util.Calendar; public class Main { public static long GetCurrentTime_UTCMilliSeconds() { // return System.currentTimeMillis(); Calendar c = Calendar.getInstance(); // int ms = c.get(Calendar.MILLISECOND); return c.getTimeInMillis(); }// w w w . ja v a 2s .c o m }