Syntax 

int PCMSSetArrivalTime(Trip trip, int entryDateType, int arrivalTimeZone, int arrivalYear, int arrivalMonth, int arrivalDay, int arrivalHour, int arrivalMinute, int arrivalSecond, int arrivalDayOfWeek)


Parameters  

Trip trip – Handle to a trip.

int entryDateType – Entry date: 0 = unknown, 1 = now, 2 = specific date, 3 = day of week.

int arrivalTimeZone – Arrival time zone.

int arrivalYear – Arrival year (e.g. 2017).

int arrivalMonth – Arrival month (e.g. 10 for October).

int arrivalDay – Arrival day (e.g. 23 for 23rd day of October).

int arrivalHour – Arrival hour (e.g. 14 for 2:00 PM military time).

int arrivalMinute – Arrival minute (e.g. 10 for tenth minute).

int arrivalSecond – Arrival second (e.g. 0 for zero seconds).

int arrivalDayOfWeek – Arrival day of week (1=Monday … 0=Sunday).


Description

Sets an arrival time for the destination. Note that arrival and departure times are mutually exclusive; only one may be set per trip.


Return Values 

Standard Returns

 

Sample Code

// Set arrival time to be Friday, Jul-28-2017 at 8:30 AM
ret = PCMSSetArrivalTime(trip, 3, 6, 2017, 7, 28, 8, 30, 0, 5);     


Supported Since: PC*MILER|Connect 25

Category: Trip Options