Get the latest event id, rather than the count of events to determine the event id to use when creating a new event. Use gmdate method instead of date.
Get the latest event id, rather than the count of events to determine the event id to use when creating a new event. Use gmdate method instead of date.

SamWM/get-simple-plugins