Java tutorial
//package com.java2s; import java.util.Date; public class Main { private static long makeDelay(double mins) { Date dateNow = new Date(); return (long) (dateNow.getTime() + (mins) * 60 * 1000); } }