{"id":2777,"date":"2021-10-08T07:22:59","date_gmt":"2021-10-08T07:22:59","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=2777"},"modified":"2021-10-08T07:22:59","modified_gmt":"2021-10-08T07:22:59","slug":"how-to-allow-a-vps-to-set-custom-timezone","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/how-to-allow-a-vps-to-set-custom-timezone\/","title":{"rendered":"How to allow a VPS to set custom timezone?"},"content":{"rendered":"<p>A custom timezone cannot be set by a VPS owner. The timezone as set on the node is uesed by VPS. At times, depending on their geographical location users need a custom timezone . sys_time needs to be enabled on your node for a VPS to set it\u2019s own time.<\/p>\n<p>Please schedule a maintenance window because it involves a VPS reboot. Typically a maintenance window of 10 to 15 minutes is sufficient .<\/p>\n<p>Login to your node and execute the commands as mention below.<\/p>\n<p><strong>#vzctl stop<br \/>\n#vzctl set \u2013save \u2013capability sys_time:on<br \/>\n#vzctl start<\/strong><\/p>\n<p>Now you can try changing the timezone OR date on your VPS.<\/p>\n<p><strong>#ln -fs \/usr\/share\/zoneinfo\/Asia\/Calcutta \/etc\/localtime<\/strong><\/p>\n<p>If you face any difficulty please feel free to contact our support team or if in case you wish to set a different timezone.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A custom timezone cannot be set by a VPS owner. The timezone as set on the node is uesed by VPS. At times, depending on their geographical location users need a custom timezone . sys_time needs to be enabled on your node for a VPS to set it\u2019s own time. Please schedule a maintenance window [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2777","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to allow a VPS to set custom timezone? - OWS KB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ownwebservers.com\/kb\/how-to-allow-a-vps-to-set-custom-timezone\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to allow a VPS to set custom timezone? - OWS KB\" \/>\n<meta property=\"og:description\" content=\"A custom timezone cannot be set by a VPS owner. The timezone as set on the node is uesed by VPS. At times, depending on their geographical location users need a custom timezone . sys_time needs to be enabled on your node for a VPS to set it\u2019s own time. Please schedule a maintenance window [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/how-to-allow-a-vps-to-set-custom-timezone\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-08T07:22:59+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-allow-a-vps-to-set-custom-timezone\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-allow-a-vps-to-set-custom-timezone\/\",\"name\":\"How to allow a VPS to set custom timezone? - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"datePublished\":\"2021-10-08T07:22:59+00:00\",\"dateModified\":\"2021-10-08T07:22:59+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-allow-a-vps-to-set-custom-timezone\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/how-to-allow-a-vps-to-set-custom-timezone\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-allow-a-vps-to-set-custom-timezone\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-allow-a-vps-to-set-custom-timezone\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-allow-a-vps-to-set-custom-timezone\/\",\"name\":\"How to allow a VPS to set custom timezone?\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=2777"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2777\/revisions"}],"predecessor-version":[{"id":2778,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2777\/revisions\/2778"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=2777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=2777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=2777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}