get timestamp (date and time) from sd card file
-
22-02-2021 - |
Question
Hello out there in B4A world! I'm trying to retrieve the timestamp from a file on the sd card. The function 'files' doesn't have a timestamp method but I see the usage of things like file timestamp in ftp operations. What am I missing?! Thanks
Solution
You can use File.LastModified to get the timestamp. I think that this method was added in B4A v1.5 or v1.6.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow