calendarApp createEvent added event on wrong day
问题 Here is my code: function calEvent(){ var arrivalDate = "06/10/2013"; var departureDate = "06/18/2013"; var start = new Date(arrivalDate); var end = new Date(departureDate); var cal = CalendarApp.getCalendarById('id487g3esn088a00omqa99ugv0@group.calendar.google.com'); cal.createEvent('Apollo 11 Landing',start,end); } When I run this it will create the event in the correct calendar however it will only be from June 10 thru June 17. I need the event to cover June 10 - June 18. I have checked