Closed
Date getting updated in DB table to 1970 even when the date is not null.
Hello Team,
The Date value is getting updated in DB table even when the value is present in the column.
Could you please help on this.
Thanks,
Niti
Hello,
1970 is the default date that gets stored when ever Pega is sending NULL to the DB.
Also there are multiple scenarios during which it gets set to 1970 within pega property as well as in the DB.
Note : if setting the property using loop please take care of Page clearance and parmeters if any accordingly.
Please refer the following urls:
https://community.pega.com/support/support-articles/blank-dates-displaying-1970
https://community.pega.com/support/support-articles/default-pega-date-1970-01-01-saved-db
https://community.pega.com/support/support-articles/datetime-set-01-01-1970-when-property-value-empty
https://community.pega.com/support/support-articles/empty-date-fields-default-01011970
https://community.pega.com/support/support-articles/blank-date-fields-populate-01011970-creating-new-work
Thanks
Chandan U