mcal_event_set_endSynopsis
DescriptionThis function sets the date and time at which an event ends. The time arguments are optional, but they are the most significant part of the value being set, as they set the event's duration. The date is almost always the same as the start date, unless a single occurrence of the event spans multiple days. It is not the date that recurrence of the event ends; that date is set by the recurrence functions. ExampleExample 711. Setting the end date of an event $calendar = "{/mstore}<mycalendar>"; $MCALconnection = mcal_open($calendar, "username", "password"); mcal_event_init($MCALconnection); // Set the event to end on the same day as it started, at 2:30 in the afternoon. $end_hour = 14; $end_min = 30; $end_sec = 0; mcal_event_set_end($MCALconnection, $start_year, $start_month, $start_day, $end_hour, $end_min, $end_sec);
PHP Functions Essential Reference. Copyright © 2002 by New Riders Publishing
(Authors: Zak Greant, Graeme Merrall, Torben Wilson, Brett Michlitsch).
This material may be distributed only subject to the terms and conditions set forth
in the Open Publication License, v1.0 or later (the latest version is presently available at
http://www.opencontent.org/openpub/).
The authors of this book have elected not to choose any options under the OPL. This online book was obtained
from http://www.fooassociates.com/phpfer/
and is designed to provide information about the PHP programming language, focusing on PHP version 4.0.4
for the most part. The information is provided on an as-is basis, and no warranty or fitness is implied. All
persons and entities shall have neither liability nor responsibility to any person or entity with respect to
any loss or damage arising from the information contained in this book.
|