Syntax
int PCMSSetDepartureTime(Trip trip, int entryDateType, int departTimeZone, int departYear, int departMonth, int departDay, int departHour, int departMinute, int departSecond, int departDayOfWeek)
Parameters
Trip trip – Handle to a trip.
int entryDateType – Entry date: 0 = unknown, 1 = now, 2 = specific date, 3 = day of week.
int DepartTimeZone – Departure time zone.
int DepartYear – Departure year (e.g. 2017).
int DepartMonth – Departure month (e.g. 10 for October).
int DepartDay – Departure Day (e.g. 23 for 23rd day of October).
int DepartHour – Departure Hour (e.g. 22 for 10:00 PM).
int DepartMinute – Departure Minute (e.g. 10 for tenth minute).
int DepartSecond – Departure Second (e.g. 0 for zero seconds).
int arrivalDayOfWeek – Arrival day of week (1=Monday … 0=Sunday).
Description
Sets a departure time from the origin. Note that arrival and departure times are mutually exclusive; only one may be set per trip.
Return Values
Sample Code
PCMSSetDepartureTime(trip, 2, 6, 2012, 8, 1, 12, 0, 0, 5);
Supported Since: PC*MILER|Connect 27
Category: Trip Options