Posted: 14 Jan 2018 14:46 EST Last activity: 16 Jan 2018 5:41 EST
How to read High End Date values in PEGA DSM 7.3
Currently we are running data flows to retrieve customer information within PEGA DSM 7.3. But for date columns with high end date values ( 31-12-9999) it is reading as 31-12-1999. The property mapped in the class mapping to these high end date columns is of "DateTime" type. Can you let me know, what should be done to retrieve the values correctly? Have verified in the database the value is ( 31-12-9999)
***Updated by moderator: Lochan to add Categories***
This comes down to understanding how dates are stored internally. Standard dates only go up until the year 2820 or something like that. If you want a maximum "high end" date to compare others against, create something with "new Date (Long.MAX_VALUE)".
If you absolutely have to have something beyond the highest date used by Java - you'll need to use something else.