Skip to content

Instantly share code, notes, and snippets.

@DrizzlyOwl
Last active November 26, 2021 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrizzlyOwl/94256211f93e1d67a52f2179a000480c to your computer and use it in GitHub Desktop.
Save DrizzlyOwl/94256211f93e1d67a52f2179a000480c to your computer and use it in GitHub Desktop.
Add to Calendar link examples
# Google Calendar
https://calendar.google.com/calendar/render
?action=TEMPLATE
# dates: URL Encoded start and end dates with TZ and / separator
# e.g. "20211126T161500Z/20211126T164500Z"
&dates=20211126T161500Z%2F20211126T164500Z
# details: URL encoded event description
# e.g. "Here's my event description"
&details=Here%27s%20my%20event%20description
# location: URL encoded address
# e.g. "123 Location PLaza, Example Street, EX4 MPL3"
&location=123%20Location%20Plaza%2C%20Example%20Street%2C%20EX4%20MPL3
# subject: URL encoded name of the Event
# e.g. "Event Title"
&text=Event%20Title
# Full example:
https://calendar.google.com/calendar/render?action=TEMPLATE&dates=20211126T161500Z%2F20211126T164500Z&details=Here%27s%20my%20event%20description&location=123%20Location%20Plaza%2C%20Example%20Street%2C%20EX4%20MPL3&text=Event%20Title
# Outlook
https://outlook.live.com/calendar/0/deeplink/compose
# body: URL encoded event description
# e.g. "Here's my event description"
?body=Here%27s%20my%20event%20description
# enddt: End date in Y-m-dTH:i:s+Tz
# e.g. 2021-11-26T16:45:00+00:00
&enddt=2021-11-26T16%3A45%3A00%2B00%3A00
# location: URL encoded address
# e.g. "123 Location PLaza, Example Street, EX4 MPL3"
&location=123%20Location%20Plaza%2C%20Example%20Street%2C%20EX4%20MPL3
&path=%2Fcalendar%2Faction%2Fcompose
&rru=addevent
# startdt: Start date in Y-m-dTH:i:s+Tz
# e.g. 2021-11-26T16:15:00+00:00
&startdt=2021-11-26T16%3A15%3A00%2B00%3A00
# subject: URL encoded name of the Event
# e.g. "Event Title"
&subject=Event%20Title
Full example:
https://outlook.live.com/calendar/0/deeplink/compose?body=Here%27s%20my%20event%20description&enddt=2021-11-26T16%3A45%3A00%2B00%3A00&location=123%20Location%20Plaza%2C%20Example%20Street%2C%20EX4%20MPL3&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=2021-11-26T16%3A15%3A00%2B00%3A00&subject=Event%20Title
# Office 365
https://outlook.office.com/calendar/0/deeplink/compose
# body: URL encoded event description
# e.g. "Here's my event description"
?body=Here%27s%20my%20event%20description
# enddt: End date in Y-m-dTH:i:s+Tz
# e.g. 2021-11-26T16:45:00+00:00
&enddt=2021-11-26T16%3A45%3A00%2B00%3A00
# location: URL encoded address
# e.g. "123 Location PLaza, Example Street, EX4 MPL3"
&location=123%20Location%20Plaza%2C%20Example%20Street%2C%20EX4%20MPL3
&path=%2Fcalendar%2Faction%2Fcompose
&rru=addevent
# startdt: Start date in Y-m-dTH:i:s+Tz
# e.g. 2021-11-26T16:15:00+00:00
&startdt=2021-11-26T16%3A15%3A00%2B00%3A00
# subject: URL encoded name of the Event
# e.g. "Event Title"
&subject=Event%20Title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment