Back

GetFileDate

Hello World

GetFileDate returns a Date object containing the last modified date of a file or folder.

app.GetFileDate( file ) → string

Example - Show /sdcard/ last modifies date

function OnStart()
{
    var date = app.GetFileDate("/sdcard/");
    app.Alert( date.toLocaleString() );
}
Copy All       Run      
string: path to file or folder ( “/absolute/...” or “relative/...” )