Delete Google Calendar events by date using Google Script

To quickly and easily delete Google Calendar events by date you can use Google Script to run the following script.

Modify script to include your Google Calendar name which is likely your Google email. Then modify the date variables fromDate and toDate. Note the months start from 0 (Jan).

function delete_events()
    var calendarName = '';
    // for month 0 = Jan, 1 = Feb etc
    // below delete from Jan 1 2015 to Jan 1 2019
    var fromDate = new Date(2015,0,1,0,0,0); 
    var toDate = new Date(2019,0,1,0,0,0);
    var calendar = CalendarApp.getCalendarsByName(calendarName)[0];
    var events = calendar.getEvents(fromDate, toDate);
    for(var i=0; i<events.length;i++){
        var ev = events[i];
        // show event name in log

This will delete your calendar events so be careful!

Check out Google Script documentation for more on how to work with Calendar.