Creating a Calendar in PHP

Aspose.Tasks - Creating a Calendar

To create a Calendar using Aspose.Tasks Java for PHP, simply invoke CreateCalendar module. Here you can see example code.

1$project = new Project('test_tasks.mpp');
2$cal1 = $project->getCalendars()->add("no info");
3$cal2 = $project->getCalendars()->add("no name");
4$cal3 = $project->getCalendars()->add("cal3");
5$saveFileFormat = new SaveFileFormat();
6$project->save("CreateCalendar.xml", $saveFileFormat->XML);
7print "Created calendar, please check the output file.";

Download Running Code

Download Creating a Calendar (Aspose.Tasks) from any of the below mentioned social coding sites:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.