Java tutorial
//package com.java2s; import java.util.Calendar; public class Main { public static int getCurrentMin() { Calendar date = Calendar.getInstance(); return date.get(Calendar.MINUTE); } }