Smart timestamp print