Convert Minutes to milliseconds Java/android
In Java 8+, use java.time
.
java.time.Duration.ofMinutes(15).toMillis();
1 minute = 60000 millisecs.
int minutes = 1;
long milliseconds = minutes * 60000;
TimeUnit.MINUTES.toMillis(yourMinutes)
see TimeUnit
javadoc (android)
int minutes = 42;
long millis = minutes * 60 * 1000;