Events created by custom function not showing in google calendar + all day events via custom function

Events created by custom function not showing in google calendar + all day events via custom function

Hello,

I have two issues:

- The events I create using custom functions are not showing in the google calendar? The event I create manually show fine.

- How do you create an all day event using a custom function please?

When manually creating an event your can select "all day". Looking up that manual event, with all day selected, using: getRecordById, it appears that zoho simply remove the time part of the "Start DateTime" and "End DateTime". I've tried creating an event using this method but I get a "4500" error.

Any ideas please?

Simon