Making a Standard Calendar in PHP

Aspose.Tasks - Making a Standard Calendar

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

1$project = new Project('test_tasks.mpp');
2$cal1 = $project->getCalendars()->add("My Cal");
3$calendar = new Calendar();
4$calendar->makeStandardCalendar($cal1);
5$saveFileFormat = new SaveFileFormat();
6$project->save("CreateStandardCalendar.xml", $saveFileFormat->XML);
7print "Created standard calendar, please check the output file.";

Download Running Code

Download Making a Standard 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.