Event structure
Entered dates and times become the event's DTSTART and, when an end is supplied, DTEND values inside a VEVENT. That event is enclosed by VCALENDAR data so calendar applications can recognize the downloaded file. The distinction between a date and a date-time matters because calendar programs interpret timed events according to the time information encoded in the file.