format channel and time