{"id":8,"date":"2004-11-14T00:21:00","date_gmt":"2004-11-14T00:21:00","guid":{"rendered":"https:\/\/kunaldua.local\/blog\/?p=8"},"modified":"2004-11-14T00:21:00","modified_gmt":"2004-11-14T00:21:00","slug":"b2evolution-manually-changing-blog-time","status":"publish","type":"post","link":"https:\/\/kunaldua.com\/blog\/2004\/11\/14\/b2evolution-manually-changing-blog-time\/","title":{"rendered":"b2evolution &#8211; Manually changing blog time (difference)"},"content":{"rendered":"<p>If the admin interface of your b2evolution blog doesn&#8217;t allow you to set the time difference field to the desired value or if you wish to change it from the &#8220;back end&#8221; just for fun, this is how to go about it.<\/p>\n<p>This &#8220;hack&#8221; is especially useful if the time difference between the time on the server which hosts your site and your desired blog time contains a &#8220;non-integer&#8221; component. For example, this website is hosted on the east coast (USA) and my default blog time is IST, which is +10.5 EST or +9.5 EST (depending upon <a href=\"http:\/\/webexhibits.org\/daylightsaving\/\" target=\"_new\">DST<\/a>). Now for some strange reason b2evolution does not allow me to a specify a decimal component in the time difference field from the front end admin interface &#8211; atleast not in v0.9.0.10, which is what I use.<\/p>\n<p>Okay, now enough background, let&#8217;s get down to the fix. You&#8217;ll need phpMyAdmin or any other way of accessing the MySQL database schema being utilized by your blog. Open the table <strong>evo_settings<\/strong> and look for the row with <em>set_name<\/em> as <strong>time_difference<\/strong>. Change the value (<em>set_value<\/em>) to the desired value e.g. 10.5 (+ sign <strong>NOT<\/strong> needed) or 3.25 (quarters or any other decimals should work as well, though I haven&#8217;t tried them) or -7.5 etc.<\/p>\n<p>Save the changes and you&#8217;re good to go with the new blog time!<\/p>\n<p><strong>Caution: Do not play around with the database too much if you&#8217;re not sure what you&#8217;re doing. You could lose valuable data!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If the admin interface of your b2evolution blog doesn&#8217;t allow you to set the time difference field to the desired value or if you wish to change it from the &#8220;back end&#8221; just for fun, this is how to go about it. This &#8220;hack&#8221; is especially useful if the time difference between the time on<a class=\"more-link\" href=\"https:\/\/kunaldua.com\/blog\/2004\/11\/14\/b2evolution-manually-changing-blog-time\/\">Continue reading <span class=\"screen-reader-text\">&#8220;b2evolution &#8211; Manually changing blog time (difference)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[43],"tags":[],"class_list":["post-8","post","type-post","status-publish","format-standard","hentry","category-www","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":0,"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"wp:attachment":[{"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}