change format timestamp for window