Import ICS to Office 365

Home Forums Import ICS to Office 365

This topic contains 3 replies, has 3 voices, and was last updated by  Dexter Morgan 1 week, 4 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6202 Score: 0

    Edwin J Hoffer
    Moderator

    Hi
    I have been wondering if anyone could help me in importing Internet calendar to Office 365 account. Actually the Zap Calendar (iCalendar Library) is not supportable to my documents. So I need to move my ICS to Office 365 account.
    Thanks

    #6230 Score: 0

    Mariya Beckham
    Moderator
    2 pts

    Hi
    All iCalendar data is stored in a PHP object tree. This allows any property to be added to the iCalendar feed without requiring specialized library function calls. Missing or invalid properties can cause the resulting iCalendar file to be invalid. Visit iCalendar.org to view valid properties and test your feed using the site’s iCalendar validator tool.
    Here is an example of a PHP program to create a single event iCalendar file:

    < ?php $title = "Simple Event"; // date/time is in SQL datetime format $event_start = "2020-01-01 12:00:00"; $event_end = "2020-01-01 13:00:00"; // create the ical object $icalobj = new ZCiCal(); // create the event within the ical object $eventobj = new ZCiCalNode("VEVENT", $icalobj->curnode);

    // add title
    $eventobj->addNode(new ZCiCalDataNode(“SUMMARY:” . $title));

    // add start date
    $eventobj->addNode(new ZCiCalDataNode(“DTSTART:” . ZCiCal::fromSqlDateTime($event_start)));

    // add end date
    $eventobj->addNode(new ZCiCalDataNode(“DTEND:” . ZCiCal::fromSqlDateTime($event_end)));

    // UID is a required item in VEVENT, create unique string for this event
    // Adding your domain to the end is a good way of creating uniqueness
    $uid = date(‘Y-m-d-H-i-s’) . “@demo.icalendar.org”;
    $eventobj->addNode(new ZCiCalDataNode(“UID:” . $uid));

    // DTSTAMP is a required item in VEVENT
    $eventobj->addNode(new ZCiCalDataNode(“DTSTAMP:” . ZCiCal::fromSqlDateTime()));

    #6231 Score: 0

    Edwin J Hoffer
    Moderator

    I can’t understand any of this.

    #6232 Score: 0

    Dexter Morgan
    Moderator
    38 pts

    Hi
    Don’t worry you get an option to move ICS to Office 365 very easily. Migrating ICS to Office 365 account will help you to access any type of calendar.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.