You are here

private function ICalendarEvent::formatDate in Opigno calendar event 8

Same name and namespace in other branches
  1. 3.x src/iCal/ICalendarEvent.php \Drupal\opigno_calendar_event\iCal\ICalendarEvent::formatDate()

Get the start time set for the even.

File

src/iCal/ICalendarEvent.php, line 77

Class

ICalendarEvent
Class ICalendarEvent.

Namespace

Drupal\opigno_calendar_event\iCal

Code

private function formatDate($date) {
  return $date
    ->format("Ymd\\THis\\Z");
}