GetFileTime

This function returns the time a file was last modified.

Syntax

Parameters

Returns

Returns the time the specified file was last modified at.

Example

#include "Leadwerks.h"

using namespace Leadwerks;

int main(int argc, const char *argv[])
{
//Create a file
std::string path = "MyFile.txt";
FileSystem::CreateFile(path);

//This will print the file creation time
System::Print(FileSystem::GetFileTime(path));

return 0;
}