Here you can find the source of formattedUnixTime()
public static String formattedUnixTime()
//package com.java2s; public class Main { public static String formattedUnixTime() { return Long.toString(System.currentTimeMillis()); }/*w w w . j a v a 2 s . c o m*/ }