ProgrammationComment afficher l'heure actuelle au format ISO 8601 en C++PrérequisNorme ISO C++ 20 (/std:c++20)Code1 2 3 4 #include <chrono> #include <format> std::string datetime = std::format("{:%FT%TZ}", system_clock::now()); Voici comment afficher l’heure actuelle au format ISO 8601 en C++.Référencesstd::format