Im working with a Workflow that was built by a former employee and he wrote a custom script to push metadata to salesforce. It seamed like it was working but my client that's using it is now telling me that some fields are not mapping correctly. The first one is birth date on new contacts. Everything in the code looks good to me but I also did not write it or for that fact have much experience with API's. Has anyone else done anything like this before and if yes, could you tell me what to try with this code.
s = GetTokenValue("RetrieveFieldValues_Birthdate").ToString();
if (string.IsNullOrEmpty(s) == false)
{
string date = s;
DateTime dt = Convert.ToDateTime(date);
contact.Birthdate = dt;
}
Thank you.