What's new in Customer Journeys?

Connect and learn more!
Unable to Set above 2038 Year in Contact CO field — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Unable to Set above 2038 Year in Contact CO field

Received Response
53
Views
4
Comments

Summary:

Unable to Set Contact CO date field above the year 2038

Content (required):

I am trying to set a date above the year of 2038 like 01/01/2040 and it won't allow me to set from Customer Portal. Is there any restriction or any modification needed to make it work. Please guide me to solve this issue


Note. In Agent Desktop the max value of that field is 01/01/2100

Version (include the version you are using, if applicable):

CP Framework Version 3.7

Code Snippet (add any code snippets that support your topic, if applicable):

$contact_id = 1;

$contact = RNCPHP\CO\Contact::fetch($contact_id);

$contact->CustomFields->CO->testDate = date('d-m-Y',strtotime('2040-01-19 01:23:42')); 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!