Add to_pdate to String class to parse string to PDate