Java tutorial
//package com.java2s; public class Main { public static String getTimeLapse(String time) { return String.valueOf((Integer.valueOf(time.split(":")[0]).intValue() + 10) % 24); } }