post processing script to change string to date object