right format time in console