Java tutorial
//package com.java2s; public class Main { public static long TimestampBeforeSec(long sec) { java.util.Date Now = new java.util.Date(); return Now.getTime() - sec; } }