<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Local time vs Mysql time causing publishDate issue</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Local-time-vs-Mysql-time-causing-publishDate-issue-82356</link>
        <description></description>
        <pubDate>Sun, 14 Jun 2026 09:13:21 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Local-time-vs-Mysql-time-causing-publishDate-issue-82356" rel="self" type="application/rss+xml" />

                <item>
          <title>Local time vs Mysql time causing publishDate issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245317#post2245317</link>
          <description><![CDATA[<p>I just updated 2 sites running V3.54 and their new error log records now display the correct time stamp</p>
<p>Woohoo...</p>
<p>Thank you Dave, as always!</p>
<p>Jerry Kornbluth</p>]]></description>
          <pubDate>Mon, 18 Jan 2021 16:16:25 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245317#post2245317</guid>
        </item>
                <item>
          <title>Local time vs Mysql time causing publishDate issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245316#post2245316</link>
          <description><![CDATA[<p>Hi All, </p>
<p>We've fixed this bug for the next release.  Here's some instructions if you want to manually patch your current version:</p>
<ul><li>Backup /lib/database_functions.php</li>
<li>Edit /lib/database_functions.php and search for mysqli($mysqli) </li>
<li>Add the code in red: </li>
</ul><p style="padding-left:80px;">mysqli($mysqli); // save object on successful connection</p>
<p style="padding-left:80px;"><span style="color:#ff0000;">// set connected flag</span><br /><span style="color:#ff0000;">mysql_isConnected(true);</span></p>
<p>Let me know if that doesn't resolve the issue for you or if you need anything else.</p>
<p>Thanks!</p>]]></description>
          <pubDate>Mon, 18 Jan 2021 15:40:28 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245316#post2245316</guid>
        </item>
                <item>
          <title>Local time vs Mysql time causing publishDate issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245315#post2245315</link>
          <description><![CDATA[<p>Same.</p>]]></description>
          <pubDate>Fri, 08 Jan 2021 04:26:59 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245315#post2245315</guid>
        </item>
                <item>
          <title>Local time vs Mysql time causing publishDate issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245304#post2245304</link>
          <description><![CDATA[<p>Confirming that my installation, which is having this issues, is 3.54</p>]]></description>
          <pubDate>Thu, 07 Jan 2021 08:56:59 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245304#post2245304</guid>
        </item>
                <item>
          <title>Local time vs Mysql time causing publishDate issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245302#post2245302</link>
          <description><![CDATA[<p>Just to clarify, this is only a CMSB 3.5.4 issue, and not a 3.5.0 issue and below.</p>]]></description>
          <pubDate>Thu, 07 Jan 2021 08:50:44 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245302#post2245302</guid>
        </item>
                <item>
          <title>Local time vs Mysql time causing publishDate issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245295#post2245295</link>
          <description><![CDATA[<p>I'm seeing the same issue. Luckily nothing we post is strictly time dependent, but obviously it's not ideal if the system can't adjust correctly to a set time or daylight saving times. Changing the server time is not something we have control over, so it needs to be fixable via CMSB.</p>]]></description>
          <pubDate>Thu, 07 Jan 2021 00:15:58 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245295#post2245295</guid>
        </item>
                <item>
          <title>Local time vs Mysql time causing publishDate issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245237#post2245237</link>
          <description><![CDATA[<p>Upon further research, it turns out that the above solution does not actually change the current timezone, if your MySQL is using the "SYSTEM" timezone. Unfortunately, this is very likely the case.</p>
<p>The next step in changing this would be to change it via your server's time, but this option varies based on your host's control panel. What control panel do you use for your hosting?</p>
<p>If it is cPanel, you can find instructions on how to change your server time here (<a href="https://docs.cpanel.net/whm/server-configuration/server-time/" rel="nofollow">https://docs.cpanel.net/whm/server-configuration/server-time/</a>).</p>]]></description>
          <pubDate>Mon, 21 Dec 2020 13:13:43 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245237#post2245237</guid>
        </item>
                <item>
          <title>Local time vs Mysql time causing publishDate issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245236#post2245236</link>
          <description><![CDATA[<p>Hello, I'll be looking over this issue.</p>
<p>Feel free to look over at lib/database_functions.php and find the setMySqlTimezone($timeZone) at around line 213, and you can manually set the timezone from there.</p>
<p>The format in coding is +00:00 where +00 equals the number of timezones to the left/right of the GMT. Based on your original post, you would have it as -05:00.</p>]]></description>
          <pubDate>Mon, 21 Dec 2020 12:55:56 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245236#post2245236</guid>
        </item>
                <item>
          <title>Local time vs Mysql time causing publishDate issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245232#post2245232</link>
          <description><![CDATA[<p>Any thoughts on this?</p>]]></description>
          <pubDate>Thu, 17 Dec 2020 13:35:28 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245232#post2245232</guid>
        </item>
                <item>
          <title>Local time vs Mysql time causing publishDate issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245220#post2245220</link>
          <description><![CDATA[<p>To add onto this, I think a similar issue is causing problems in the Developer Log (3.54). It is saying errors are happening "<strong>In the future</strong>" instead of "XX seconds ago" or something similar.</p>]]></description>
          <pubDate>Thu, 10 Dec 2020 11:31:56 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245220#post2245220</guid>
        </item>
                <item>
          <title>Local time vs Mysql time causing publishDate issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245219#post2245219</link>
          <description><![CDATA[<p>I recently updated a site to v 3.54 and I am experiencing a problem with publishDates which seems to stem the timezone setting in General Settings. I have the timezone set to my local timezone, which then displays local time and mysql time to be 2 hours apart (see attachment). This leads to items using the publishDate field to not appear on the site until 2 hours after intended. </p>]]></description>
          <pubDate>Wed, 09 Dec 2020 11:26:22 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245219#post2245219</guid>
        </item>
              </channel>
    </rss>
  