Java tutorial
//package com.java2s; public class Main { public static long expires(String second) { Long l = Long.valueOf(second); return l * 1000L + System.currentTimeMillis(); } }