Posted: June 16, 2016 at 8:33 pm
|
We have event in EE4 in WOrpdress When a person registers in Event Espresso the course date lands in Infusionsoft and populates the field with a date one day prior to the date of the event in EE This creates an issue with first email to client from IS showing the incorrect date. |
Hi Carl, Could you share some feedback on where that date is being added so I can run some additional testing? I’m seeing an entry for a date, however its the order date rather that the event date. — |
|
|
Thanks the event date is being recorded and sent to the client from ee4 correctly but in infusionsoft it is a day earlier [goes into a custom field] |
|
link to event showing event date; https://drive.google.com/file/d/0B3hl7otgVtKkRjZKWTJacTZlM0k/view?usp=sharing |
Hi Carl, Can you let me know which timezone you have set within your site please? Dashboard -> Settings -> General -> Timezone. |
|
Also can you post up the code you are using to add the date to a custom field please? You can either create a Gist or use something like PasteBin and post the URL here for us to view. |
|
|
Here is a link to date https://drive.google.com/file/d/0B3hl7otgVtKkbHlEZWY1LS1qaWc/view?usp=sharing |
|
|
I think this is the problem. All dates and times are stored within the database in UTC+0, so your pulling the value directly from the datebase and sending that to Infusionsoft, meaning your not getting the value your are expecting. Try:
Did you use one of our examples to build the above? |
|
|
Hi, $startdate = date( EED_Infusionsoft::IS_datetime_format, $event->primary_datetime()->start_date_and_time() ); We try that code but it returns empty. |
Hmm, in that case there is something about the date format your site uses that date doesn’t like. Another option is to use:
The start_date method will automatically apply your timezone offset, passing the IS_datetime_format to that method returns the date in that format. |
|
|
ok success thankyou |
You’re most welcome. I’ll mark this thread resolved. |
|
The support post ‘Event a Day Late In Infusionsoft’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.