Added function to determine latest changed date

@carrickr