cmake -E time: use C++11 chrono and better format output

fixes #24415
2 files changed