Java tutorial
//package com.java2s; import java.util.Calendar; import java.util.Date; public class Main { public static Long getIncTimeInMillis(Date originDate, int increment) { if (null == originDate) return null; Calendar c = Calendar.getInstance(); c.setTime(originDate); c.add(Calendar.MINUTE, increment); return c.getTimeInMillis(); } }