PCMSSetDateOption
Syntax
int PCMSSetDateOption (Trip trip, int dateOption)
Parameters
Trip trip – Handle to a trip.
int dateOption – Value range is 0 - 3. 0 = Unknown; 1 = Current; 2 = User Specified; 3 = Day of Week.
Description
Sets the date option related to the depart time calculation.
Return Values
Standard Returns
Sample Code
/* Configure the trip options you want to use when running all matrix trips */
PCMSSetCalcType(matTrip, CALC_PRACTICAL);
PCMSSetBordersOpen(matTrip, FALSE);
PCMSSetCustomMode(matTrip, TRUE);
PCMSSetRoadSpeedType(matTrip,2);
PCMSSetDateOption(matTrip,2);
Supported Since: PC*Miler Connect 27
Category: Trip Options