Changed time so that when minutes < 10 it adds a 0 before