Hi There,
I am trying to convert a string to a date with MM/dd/yyyy formatting but I cannot get it to work.
The field Departure_Date_Website holds the value of: Sep 09, 2024
- resp = zoho.crm.getRecordById("Leads", recordid);
- stringdate = resp.get("Departure_Date_Website");
- departuredate = stringdate.toDate("MM/dd/yyyy");
- mp = map();
- mp.put("Departure_Date" : "departuredate");
- update = zoho.crm.updateRecord("Leads", recordid, mp);