Back

GetFileDate

Hello World

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

app.GetFileDate( file ) → JavaScript object: Date

Example - Show /sdcard/ last modifies date

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