Previous Topic: ca_pam_getDateFieldMinValue(_id)Next Topic: ca_pam_getDateFieldValue(_id)


ca_pam_getDateFieldMinValueInMillis(_id)

Returns the value of the Date field Minimum Value property, expressed as a long integer. This integer represents the number of milliseconds before or after January 1, 1970 00:00:00 UTC (known as the UNIX Epoch). You can pass the value in this field, as mentioned in the ca_pam_getDateFieldMaxValue(_id) method.

Input Parameters
_id (string)

Specifies the unique identifier of a Date field.

Return Value

The minimum value for a Date field, expressed as a long integer.

Example
ca_pam_getDateFieldMinValueInMillis('Form.DateofBirth')

This example returns the minimum value that is allowed for the DateofBirth field as a numeric string measured in milliseconds. For a Date field with a minimum value of 01/01/1974, this function would return 126291600000 (that is, 126,291,600,000 or 126 billion milliseconds).

This function returns a negative result for dates before 1970.