Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Determine time interval for deletion
#1
Hi Gintaras, hi all

i'd like to store in a file data, beginning by a date.

Then, i'd like to iterate lines of the file, and delete line older than a defined interval, say 1 month (30 days).

example:

2016-05-02 13:40:21 "some data"

I got the idea from IStringMap example with DATE as key

Links or code to help?

Thanks


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)