change style of time