Rewrite time command.