PayPal sends payment datetime like:
09%3A37%3A22+Nov+18%2C+2012+PST
I try to convert it by this code but getting an exception.
Any clue about how to parse it?
Thank you!
DateTime paymentDate;
DateTime.TryParse(WebUtility.HtmlDecode(r["payment_date"]), out paymentDate);
n.PaymentDate = paymentDate; // payment_date=09%3A37%3A22+Nov+18%2C+2012+PST
This should do the trick: