I am having a problem with a DateTime string not being recognized. With our licensing program, you generate a key which has an expiration DateTime associated with it. However, some of our customers in another part of the world are unable to apply this key, and the error which comes back is "String was not recognized as a valid DateTime".
I looked at the key which I sent them and after decrypting it, the DateTime looks fine to me. Is there a discrepancy with how DateTimes are formatted in different parts of the world that I need to take into account? (Right now I am under the assumption that .NET will just "figure it out", which I'm thinking might not be the case now) And if so, how would I go about formatting our DateTime so that it works in any part of the world?
EDIT Here is the DateTime string: "10/16/2122 4:36:17 PM"