Here you can find the source of secondsAgo(int seconds)
public static long secondsAgo(int seconds)
//package com.java2s; //License from project: Open Source License public class Main { public static long SECOND = 1; public static long secondsAgo(int seconds) { return now() - (seconds * SECOND); }// w ww . jav a2 s . c o m public static long now() { return System.currentTimeMillis(); } }