Added function to reformat date for a family id.