• I am getting a date/time stamp on my gravity forms which I have being sent to Zapier, that is 7 hours off. My WordPress timezone on Settings/General has a difference of 7 hours between local and UTC time. I have changed my local time to the UTC (For Utah -7) and it is still showing a difference between local and UTC. I have changed the timezone on my PHP from the server side. I have put a code line in my PHP.ini file to show local time.

    So the problem seems to be that my gravity form is grabbing the UTC time and not the local time.

    Any suggestions?

    Brad

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • So the problem seems to be that my gravity form is grabbing the UTC time and not the local time.

    If you haven’t done so already, try setting your WP time zone to a local timezone rather than a UTC offset. I don’t think there’s Utah (or any city in Utah) in the list, but there’s Denver, CO which is in the same time zone.

    If that doesn’t work, kindly contact the Gravity Forms folks for help with this, as Gravity Forms is a commercial plugin, and commercial plugins are not supported here.

    WordPress support volunteers here are not given access to commercial plugins and themes, so we’re unable to install the Gravity Forms plugin and dig into this further for you.

    Gravity Forms support: https://www.gravityforms.com/open-support-ticket/

    Good luck!

    Thread Starter bstone81

    (@bstone81)

    Thanks for the reply George. Yep, I’ve attempted all the changes on the General section of the Settings in WordPress. It allows me to change my timezone to the UTC time, but does not change the inherent UTC time on the platform, which is still 7 hours off of my local time.

    I did reach out to Gravity Forms Support and they said that Gravity Forms uses the UTC time as the time stamp for their forms. They said that I will need to add some PHP code into the function.php file for the theme. I do have experience adding code, but not writing the code. If anyone here can help with that, I would greatly appreciate it. I’ve also reached back to Gravity Forms support to see if they can supply me with the code snippet.

    Thanks again for your response.

    Brad

    They said that I will need to add some PHP code into the function.php file for the theme.

    The “some PHP code” in question will be code that changes the way the Gravity Forms plugin uses time in their plugin. Which requires intimate, code-level knowledge of how the plugin works.

    So, once again, without having access to the Gravity Forms plugin’s full code (as this is a commercial product), we’re unfortunately unable to help write such PHP code.

    A quick googling for “gravity forms use local time” shows a lot of results, which would indicate this is a common problem with the plugin. But as I don’t have access to the plugin, I’m unable to test any of these tutorials for you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Universal UTC and Local Time differences’ is closed to new replies.