How to get if file creation date?

I need to get the date of creation of a file How can i get it?

I’m using a function that gets the last time the file has been modified. If you only create it and do not modify it, maybe does the job for you.
Only tested in macOS, I use:
Just be sure to get all the file path with ofToDataPath() Not just “yourfile.extension”.

For example:

auto lastModifiedTime = std::filesystem::last_write_time(ofToDataPath(“Scripts/”));


I’m using android and i’m getting this numbers:19%20PM