How to parse the given string to a date Plz show me the way and calculate the diff.