B4X FEED Find Date File Was Created

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Find Date File Was Created است. این موضوع تا کنون 30 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Find Date File Was Created
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
30
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi,

Easy enough, my application is downloading images of profile pictures from a database. Those pictures are saved in internal or external, it doesnt really matter (but i'd rather put them in internal so only the app can have access to them...)

In the end i want to create a test of date on those files so that if any extends the 24h mark, i can delete them.

In other words i just want to create a custom garbage collector that checks the date of files in the folder and deletes any files that were created over 24hrs ago.

Is it possible to retrieve such data as file creation date/time?

Y.


EDIT: I found a solution with File.LastModified but i'd rather have created time/date...

 

عقب
بالا