Java tutorial
//package com.java2s; public class Main { /** * * @return */ public static final String getStringTimeStamp() { return Long.toString(System.currentTimeMillis() / 1000); } }