I have a listview being fed by a database much like the notepad example app. It's using a SimpleCursorAdapter with the from and to arrays showing how the database fields are mapped to the text fields on the listview row.
Now I would like to run a function on one of the database entries (a date) to calculate the time from now until that date and show it in weeks. Is there any way to set it up so it'll run a function and return a calculated value for one of the text boxes?

