How to get created - date and time and update into date - time field .. i am getting issue while updating time .. date i am getting correct ...
i am trying to update both date and time from created ..
calls_record = zoho.crm.getRecordById("Calls",ID);
// //info calls_record;
created = calls_record.get("Created_Time").toString("yyyy-MM-dd'T'HH:mm:ss'+05:30'");
info "created =" + created;
account = calls_record.get("What_Id");
if(account != null)
{
accounts_id = account.get("id");
map = Map();
map.put("Last_Interaction_Time",created);
info map;
update = zoho.crm.updateRecord("Accounts",accounts_id,map);
info update;
}
this is the code i have written
no error ; but time is not updating correctly .. why ? did i missed something for time ?