Previous Topic: ca_pam_getDateFieldMinValueInMillis(_id)Next Topic: ca_pam_getDateFieldValueInMillis(_id)


ca_pam_getDateFieldValue(_id)

Returns the value of a Date field as a date string (for example, 05/05/2025).

Input Parameters
_id (string)

Specifies the unique identifier of a Date field.

Return Value

Date value as a string.

Example
var LastDay =ca_pam_getDateFieldValue('Form.TripEndDate');
ca_pam_setDateFieldMaxValue('Form.DateDeparture',LastDay);

The first line of this example gets the TripEndDate (for example, 05/15/2014) and stores it in the LastDay variable.

The second line of this example sets the Maximum Value of the DateDeparture field to the value of the LastDay variable.