GetFileDate returns a Date object containing the last modified date of a file or folder.
Example - Show /sdcard/ last modifies date
function OnStart()
{
var date = app.GetFileDate("/sdcard/");
app.Alert( date.toLocaleString() );
}
from native import app
def OnStart():
date = app.GetFileDate("/sdcard/")
app.Alert(date.toLocaleString())