I am looking for a fully working solution, one that works with:
The only thing wrong is that you're missing asterisks in-between NSString and lastModifiedString, and also between NSDate and date. Once you put those in, this code works for me.
NSString
lastModifiedString
NSDate
date