If I share a calendar with someone else and we end up with clashing events, how can I tell who "got there first"?
7 Answers
There's no way to do that via the web interface. If you're happy to get down and dirty with the the Calendar Data API, then you can get the creation and last-modified timestamps from any event in any of the calendars you're subscribed to.
You can locate the date created and date modified for an event by examining the .ics file for the calendar with a text editor. Download the .ics file for your calendar from calendar.google.com > Settings > Import & Export> Export
-
1more details here artesanodesignstudio.wordpress.com/2014/02/08/… Nov 26, 2014 at 7:12
-
1I just get an error saying "No File", clicking on the ICAL button just gives me an "Feed Processing Error" Jul 14, 2016 at 4:47
-
1
Web version of the Calendar API is probably the easiest:
- Get the event ID for the calendar event
- Edit the event in Google Calendar
- Copy the last part of URL (after the last "/") from the address bar (for example, from this URL
https://calendar.google.com/calendar/r/eventedit/NGh0Z3BtbTFobWFrNzQ0cjBrYmtkY29kYXIgZXVndTlrYW4xZGRpMXBtaTZzazNpYjWoNmdAZw
you copyNGh0Z3BtbTFobWFrNzQ0cjBrYmtkY29kYXIgZXVndTlrYW4xZGRpMXBtaTZzazNpYjWoNmdAZw
- Decode that from base64 format (this tool works: https://www.base64decode.org/)
- The first part (before the space) is your event ID
- Use the Calendar API (https://developers.google.com/apis-explorer/#p/calendar/v3/calendar.events.get) with
primary
in thecalendarId
field and your event ID in theeventId
field. If the calendar in question is not the primary calendar for the account, get thecalendarId
from the Settings page for the calendar - The
"created"
field has the date/time for when the event was added
The date published flag is the answer. The quick and dirty way to get the info is to enter
https://www.google.com/calendar/feeds/[username]@gmail.com/private/full
and do a Ctrl+F to find the event you need. The date published flag is only a couple of tags back.
-
14I get 403 Forbidden, in another tab in the same browser where I have Google Calendar open with that account– golimarFeb 23, 2017 at 8:58
You can now do this without writing any code by using the web version of the calendar API: https://developers.google.com/apis-explorer/#p/calendar/v3/calendar.events.get
- Go to the calendar event in question in "edit" view.
- Go to "More Actions" and then "Troubleshooting Info".
- Copy the event ID (eid=...).
- Note: for a recurring event, remove the _[date]Z suffix.
- Go to https://developers.google.com/apis-explorer/#p/calendar/v3/calendar.events.get, enter "primary" calendarId" and use that ID for eventId.
The result will include a "created" and "updated" section.
-
Sadly there's no longer a "Troubleshooting Info" option available. I tried copying the id from the URL and using primary as the calendarId but it returns a 404. Apr 10, 2019 at 7:11
-
True, however event ID can be found by Base64 decoding the event ID found in the URL (see instructions: stackoverflow.com/questions/32755413/… ) May 21, 2019 at 19:52
-
There is still a way to activate "Troubleshooting Info" again: stackoverflow.com/a/51704714/1238150. I just tested it and it works. Btw, you can get the calendarID in the calendar settings of a given calendar. Aug 20, 2019 at 7:57
-
Hyperactive's answer [1] works now. This answer doesn't properly show how to find the
eid
. [1] webapps.stackexchange.com/a/129975/134283 Oct 4, 2019 at 1:28
If you have another email address, add that to the event and send the invite. This will create the .ics file. Open the .ics file on any text editor and search for "CREATED:".
Sounds like you need to detect a "date created" flag of some kind. I see a "date published" flag in the Calendar API docs, referring to the .xml format of calender entries. I would go and examine the developer API docs.