How to get the date modified from a file?

I tried this but didn’t work:
year
The file component and Taifun’s file extension doesn’t contain anything like that.

1 Like

those blocks expect an instant as input parameter and not a filename
probably this is possible using an extension?
you might find something in the extensions directory App Inventor Extensions | Pura Vida Apps

Taifun

SOLVED THIS:

Use the Shell component with in:

stat -c %y /mnt/sdcard/Myfile.txt
Capture
Result:

1 Like

:point_up_2:This is doesn’t work for Android 5, the universal solution is here:

Result(s):

You can download this apk here:
http://www.mediafire.com/file/1dk7jbbc88vjcnq/Lsl.apk/file

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.