C++17 includes a new and portable API for working with filesystems (<filesystem>).
My program unpacks an archive. This archive contains files, directories and creatation time for each file. With the new API I have a portable solotution for creating directories (std::filesystem::create_directories), and I am using std::ofstream for creating files.
Can I use the new API for setting file createtion (or modification) time?
EDIT: Time, who providing by archive - it is seconds, start at 1970.01.01 00:00:00(UNIX Epoch time)