split up time in tables