Returns the value of the Date field Maximum 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.
Defines the unique identifier of a Date field.
The maximum value for a Date field, expressed as a long integer.
ca_pam_getDateFieldMaxValueInMillis('Form.DateDeparture')
This example returns the maximum value that is allowed for the DateDeparture field as a numeric string measured in milliseconds. For a Date field with a maximum value of 05/25/2025, this function would return 1748188800000 (that is, 1,748,188,800,000 or 1.7 trillion milliseconds).
The ca_pam_getDateFieldMaxValueInMillis function returns a negative result for dates before 1970.
|
Copyright © 2014 CA.
All rights reserved.
|
|