hi,
i try to calculate the durations of several events in my google calendar and report them into a google spread sheet with apps script.
i don't find any method to get the length, the duration, of an event ( CalendarEvent objet ) , is it normal or the name (of duration) is not meaning ?
As time calculation/computing is a basic feature of calendar/sheet/time data, i am very surprise of this missing feature !
so, how can i get the duration ?
do i need to perform it myself with end-begin data valeue and manager the result, the format, the limits, the bound... ?
Something like MyDuration= getEndTime()-getStartTime() ..... ?
Maybe the function is in another google object, shall you help me or advice me ?
Thank you for your help.
Pierre