{"id":434,"date":"2024-02-26T18:52:12","date_gmt":"2024-02-26T18:52:12","guid":{"rendered":"https:\/\/blog.hostinger.io\/uk\/support\/2024\/02\/26\/1583192-%d1%8f%d0%ba-%d0%b7%d0%bc%d1%96%d0%bd%d0%b8%d1%82%d0%b8-%d0%bd%d0%b0%d0%bb%d0%b0%d1%88%d1%82%d1%83%d0%b2%d0%b0%d0%bd%d0%bd%d1%8f-%d1%87%d0%b0%d1%81%d0%be%d0%b2%d0%be%d0%b3%d0%be-%d0%bf%d0%be\/"},"modified":"2026-05-09T12:16:52","modified_gmt":"2026-05-09T12:16:52","slug":"1583192-%d1%8f%d0%ba-%d0%b7%d0%bc%d1%96%d0%bd%d0%b8%d1%82%d0%b8-%d0%bd%d0%b0%d0%bb%d0%b0%d1%88%d1%82%d1%83%d0%b2%d0%b0%d0%bd%d0%bd%d1%8f-%d1%87%d0%b0%d1%81%d0%be%d0%b2%d0%be%d0%b3%d0%be-%d0%bf%d0%be","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/ua\/support\/1583192-%d1%8f%d0%ba-%d0%b7%d0%bc%d1%96%d0%bd%d0%b8%d1%82%d0%b8-%d0%bd%d0%b0%d0%bb%d0%b0%d1%88%d1%82%d1%83%d0%b2%d0%b0%d0%bd%d0%bd%d1%8f-%d1%87%d0%b0%d1%81%d0%be%d0%b2%d0%be%d0%b3%d0%be-%d0%bf%d0%be\/","title":{"rendered":"\u042f\u043a \u0417\u043c\u0456\u043d\u0438\u0442\u0438 \u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0427\u0430\u0441\u043e\u0432\u043e\u0433\u043e \u041f\u043e\u044f\u0441\u0443 PHP \u0414\u043b\u044f \u0421\u0430\u0439\u0442\u0443 Hostinger?"},"content":{"rendered":"<p class=\"no-margin\">\u0425\u043e\u0447\u0430 <b><a data-click-id=\"hgr-post-content-link-support-hostinger-com-en-articles-1583329-what-is-the-server\" href=\"https:\/\/support.hostinger.com\/en\/articles\/1583329-what-is-the-server-timezone-at-hostinger\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0443 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044e \u0447\u0430\u0441\u0443 \u043d\u0430 \u0412\u0430\u0448\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0456<\/a><\/b> <b>\u0437\u043c\u0456\u043d\u0438\u0442\u0438 \u043d\u0435\u043c\u043e\u0436\u043b\u0438\u0432\u043e<\/b>, \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0447\u0430\u0441\u043e\u0432\u0438\u0439 \u043f\u043e\u044f\u0441 \u0434\u043b\u044f \u0441\u0432\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0443 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e <b><a data-click-id=\"hgr-post-content-link-hpanel\" href=\"#h_1f6edd64e7\" target=\"_blank\" class=\"intercom-content-link\">hPanel<\/a><\/b> \u0430\u0431\u043e <b><a data-click-id=\"hgr-post-content-link-h_3026ddf51a\" href=\"#h_3026ddf51a\" target=\"_blank\" class=\"intercom-content-link\">\u0444\u0443\u043d\u043a\u0446\u0456\u0457 PHP<\/a><\/b>: <\/p>\n<p class=\"no-margin\">\n<h1 id=\"h_1f6edd64e7\">\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0447\u0430\u0441\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u044f\u0441\u0443 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e hPanel<\/h1>\n<p class=\"no-margin\">\u0412\u0456\u0434\u043a\u0440\u0438\u0439\u0442\u0435 \u0440\u043e\u0437\u0434\u0456\u043b <b><a data-click-id=\"hgr-post-content-link-hpanel-hostinger-com-websites\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">\u201c\u0421\u0430\u0439\u0442\u0438\u201d<\/a><\/b>, \u043d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c <b>\u201c\u041a\u0435\u0440\u0443\u0432\u0430\u0442\u0438\u201d<\/b> \u043f\u043e\u0440\u0443\u0447 \u0437 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u0438\u043c \u0441\u0430\u0439\u0442\u043e\u043c \u0456 \u0437\u043d\u0430\u0439\u0434\u0456\u0442\u044c <b>\u201c\u041a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f PHP\u201d<\/b>. \u041f\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044c \u043d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0443 <b>\u201c\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438 PHP\u201d<\/b> \u0456 \u0432\u0456\u0434\u0440\u0435\u0434\u0430\u0433\u0443\u0439\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f <b>date.timezone<\/b>:<\/p>\n<p class=\"no-margin\">\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/61\/2024\/02\/d53703de-e395-4b02-8c3f-7afb0ee49d50.png\/public\" data-media-id=\"615\" alt=\"Hostinger PHP options: \u0432\u0438\u0434\u0456\u043b\u0435\u043d\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 date.timezone \u0437\u0456 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f\u043c UTC\"><\/div>\n<p class=\"no-margin\">\u042f\u043a\u0449\u043e \u0412\u0438 \u043d\u0435 \u0432\u043f\u0435\u0432\u043d\u0435\u043d\u0456, \u044f\u043a\u0438\u0439 \u0447\u0430\u0441\u043e\u0432\u0438\u0439 \u043f\u043e\u044f\u0441 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438, \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 <b><a data-click-id=\"hgr-post-content-link-timeanddate-com-time-map\" href=\"https:\/\/www.timeanddate.com\/time\/map\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">\u043a\u0430\u0440\u0442\u0443 \u0447\u0430\u0441\u043e\u0432\u0438\u0445 \u043f\u043e\u044f\u0441\u0456\u0432<\/a><\/b>.<\/p>\n<p class=\"no-margin\">\n<p class=\"no-margin\">\u0417\u0431\u0435\u0440\u0435\u0436\u0456\u0442\u044c \u0437\u043c\u0456\u043d\u0438 \u0432\u043d\u0438\u0437\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0438. \u041f\u0456\u0441\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u0447\u0430\u0441\u043e\u0432\u0438\u0439 \u043f\u043e\u044f\u0441 \u0431\u0443\u0434\u0435 \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043e \ud83d\ude80<\/p>\n<p class=\"no-margin\">\n<h1 id=\"h_3026ddf51a\">\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0447\u0430\u0441\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u044f\u0441\u0443 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0444\u0443\u043d\u043a\u0446\u0456\u0457 PHP<\/h1>\n<p class=\"no-margin\">\u0412\u0438 \u0442\u0430\u043a\u043e\u0436 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0447\u0430\u0441\u043e\u0432\u0438\u0439 \u043f\u043e\u044f\u0441 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0444\u0443\u043d\u043a\u0446\u0456\u0457 PHP <b>date_default_timezone_set<\/b>. \u041f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 <b><a data-click-id=\"hgr-post-content-link-php-net-manual-en-timezones-php\" href=\"https:\/\/www.php.net\/manual\/en\/timezones.php\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">\u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0432\u0430\u043d\u0438\u0445 \u0447\u0430\u0441\u043e\u0432\u0438\u0445 \u043f\u043e\u044f\u0441\u0456\u0432<\/a><\/b>, \u0437\u043d\u0430\u0439\u0434\u0456\u0442\u044c \u0442\u043e\u0439, \u044f\u043a\u0438\u0439 \u0412\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u0435\u043d, \u0456 \u0434\u043e\u0434\u0430\u0439\u0442\u0435 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u043a\u043e\u0434 \u043d\u0430 \u0441\u0432\u0456\u0439 \u0441\u0430\u0439\u0442 (\u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0443 \u0444\u0430\u0439\u043b\u0456 <b>index.php<\/b>):<\/p>\n<pre><code>&lt;?php<br>date_default_timezone_set(\"Asia\/Bangkok\");<br>echo date_default_timezone_get();<br>?&gt;<\/code><\/pre>\n<p class=\"no-margin\">\u0417\u0430\u043c\u0456\u043d\u0456\u0442\u044c \u201cAsia\/Bangkok\u201d \u043d\u0430 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u0438\u0439 \u0447\u0430\u0441\u043e\u0432\u0438\u0439 \u043f\u043e\u044f\u0441.<\/p>\n<p class=\"no-margin\">\n<p class=\"no-margin\"><b>\u0414\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u0440\u0435\u0441\u0443\u0440\u0441\u0438<\/b><\/p>\n<ul>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-support-hostinger-com-en-articles-4605619-how-to-change-the\" href=\"https:\/\/support.hostinger.com\/en\/articles\/4605619-how-to-change-the-database-timezone-on-phpmyadmin\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">\u042f\u043a \u0437\u043c\u0456\u043d\u0438\u0442\u0438 \u0447\u0430\u0441\u043e\u0432\u0438\u0439 \u043f\u043e\u044f\u0441 \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445 \u043f\u0456\u0434 \u0447\u0430\u0441 \u0441\u0435\u0430\u043d\u0441\u0443 phpMyAdmin?<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-php-net-manual-en-function-date-default-timezone-set-php\" href=\"https:\/\/www.php.net\/manual\/en\/function.date-default-timezone-set.php\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">\u0424\u0443\u043d\u043a\u0446\u0456\u044f date_default_timezone_set.<\/a><\/b><\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0447\u0430\u0441\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u044f\u0441\u0443 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e hPanel \u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 PHP<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","include_on_kodee":true,"footnotes":""},"categories":[202],"tags":[],"class_list":["post-434","post","type-post","status-publish","format-standard","hentry","category-202"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583192-how-to-change-the-php-timezone-setting-for-your-website-in-hostinger","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583192-como-modificar-la-configuracion-de-zona-horaria-de-php-para-tu-sitio-web-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583192-comment-puis-je-modifier-le-parametre-de-fuseau-horaire-de-php-pour-mon-site-web-hostinger","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583192-bagaimana-cara-memodifikasi-pengaturan-php-timezone-untuk-website-saya-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/1583192-como-alterar-a-configuracao-de-fuso-horario-do-php-para-o-seu-site-hostinger","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583192-\u044f\u043a-\u0437\u043c\u0456\u043d\u0438\u0442\u0438-\u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f-\u0447\u0430\u0441\u043e\u0432\u043e\u0433\u043e-\u043f\u043e","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/comments?post=434"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/434\/revisions"}],"predecessor-version":[{"id":621,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/434\/revisions\/621"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/media?parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/categories?post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/tags?post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}