Sample: Filter Code to Calculate the Duration of a new Google Calendar Event

6
Connect

Tap the button and this applet emails you code that calculates the duration of a new Google Calendar event. An applet needs this when copying the event to an iOS Calendar (IFTTT does not let applets set the end time in the iOS Calendar). For Google events flagged as all-day, the iOS start time is set to midnight in the corresponding iOS Calendar entry since applets cannot set the iOS Calendar All-Day flag. Here is an applet that uses this code: http://ift.tt/2hnTCWc

If

Button widget icon
Button press

This trigger fires every time you press the button.

Then

Gmail icon
Send yourself an email

This action will send yourself an email. HTML, images and links are supported.

Fewer details

Explore more great ways to automate Button widget and Gmail