{"id":1037,"date":"2014-08-25T22:26:35","date_gmt":"2014-08-25T18:26:35","guid":{"rendered":"https:\/\/www.about1c.ru\/v77\/?p=1037"},"modified":"2020-09-28T19:39:33","modified_gmt":"2020-09-28T16:39:33","slug":"how-get-date-month-like-string","status":"publish","type":"post","link":"https:\/\/www.about1c.ru\/v77\/developer-faq\/how-get-date-month-like-string","title":{"rendered":"\u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043c\u0435\u0441\u044f\u0446 \u043f\u0440\u043e\u043f\u0438\u0441\u044c\u044e \u0434\u043b\u044f \u0434\u0430\u0442\u044b?"},"content":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0434 \u0412\u0430\u043c\u0438 \u0441\u0442\u043e\u0438\u0442 \u0437\u0430\u0434\u0430\u0447\u0430\u00a0\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u0442\u0443 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 &#171;\u0434\u0435\u043d\u044c + \u043c\u0435\u0441\u044f\u0446 \u043f\u0440\u043e\u043f\u0438\u0441\u044c\u044e + \u0433\u043e\u0434&#187; (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, &#171;01 \u042f\u043d\u0432\u0430\u0440\u044f 2014 \u0433.&#187;),\u00a0\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0434\u0432\u0443\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438:<!--more--><\/p>\n<p>1. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <a title=\"\u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0424\u043e\u0440\u043c\u0430\u0442\" href=\"\/v77\/language-reference\/system\/format-functions\/function-format\">\u0424\u043e\u0440\u043c\u0430\u0442()<\/a>:<\/p>\n<pre class=\"code\">\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u0414\u0430\u0442\u044b <span style=\"color:red\">=<\/span> <span style=\"color:red\">\u0424\u043e\u0440\u043c\u0430\u0442<\/span><span style=\"color:red\">(<\/span>\u0418\u0441\u0445\u043e\u0434\u043d\u0430\u044f\u0414\u0430\u0442\u0430<span style=\"color:red\">,<\/span> <span style=\"color:black\">\"\u0414\u0414\u0414\u041c\u041c\u041c\u041c\u0413\u0413\u0413\u0413\"<\/span><span style=\"color:red\">)<\/span><span style=\"color:red\">;<\/span>\r\n<\/pre>\n<p>2. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <a title=\"\u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0428\u0430\u0431\u043b\u043e\u043d\" href=\"\/v77\/language-reference\/system\/format-functions\/function-template\">\u0428\u0430\u0431\u043b\u043e\u043d()<\/a>:<\/p>\n<pre class=\"code\">\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u0414\u0430\u0442\u044b <span style=\"color:red\">=<\/span> <span style=\"color:red\">\u0428\u0430\u0431\u043b\u043e\u043d<\/span><span style=\"color:red\">(<\/span><span style=\"color:black\">\"[\u0418\u0441\u0445\u043e\u0434\u043d\u0430\u044f\u0414\u0430\u0442\u0430#\u0414\u0414\u0414\u041c\u041c\u041c\u041c\u0413\u0413\u0413\u0413]\"<\/span><span style=\"color:red\">)<\/span><span style=\"color:red\">;<\/span>\r\n<\/pre>\n<p>\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u0442\u044b \u0432 \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c <a title=\"\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0412: \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0444\u043e\u0440\u043c\u0430\u0442\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438\" href=\"http:\/\/www.about1c.ru\/v77\/language-reference\/appendix\/format-string\">\u0444\u043e\u0440\u043c\u0430\u0442\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430<\/a>\u00a0\u0432\u0438\u0434\u0430 <code>\u0414\u0414\u0414\u041c\u041c\u041c\u041c\u0413\u0413\u0413\u0413<\/code>.<br \/>\n\u0415\u0441\u043b\u0438 \u0436\u0435 \u0412\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043b\u044f \u0434\u0430\u0442\u044b \u0442\u043e\u043b\u044c\u043a\u043e &#171;\u043c\u0435\u0441\u044f\u0446 \u043f\u0440\u043e\u043f\u0438\u0441\u044c\u044e + \u0433\u043e\u0434&#187; (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, &#171;\u042f\u043d\u0432\u0430\u0440\u044c 2014 \u0433.&#187;), \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043d\u0443\u044e \u0444\u043e\u0440\u043c\u0430\u0442\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443\u00a0<code>\u0414\u041c\u041c\u041c\u041c\u0413\u0413\u0413\u0413<\/code> \u0432 \u044d\u0442\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0445:<\/p>\n<pre class=\"code\">\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u0414\u0430\u0442\u044b <span style=\"color: red;\">=<\/span> <span style=\"color: red;\">\u0424\u043e\u0440\u043c\u0430\u0442<\/span><span style=\"color: red;\">(<\/span>\u0418\u0441\u0445\u043e\u0434\u043d\u0430\u044f\u0414\u0430\u0442\u0430<span style=\"color: red;\">,<\/span> <span style=\"color: black;\">\"\u0414\u041c\u041c\u041c\u041c\u0413\u0413\u0413\u0413\"<\/span><span style=\"color: red;\">)<\/span><span style=\"color: red;\">;<\/span>\r\n\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u0414\u0430\u0442\u044b <span style=\"color: red;\">=<\/span> <span style=\"color: red;\">\u0428\u0430\u0431\u043b\u043e\u043d<\/span><span style=\"color: red;\">(<\/span><span style=\"color: black;\">\"[\u0418\u0441\u0445\u043e\u0434\u043d\u0430\u044f\u0414\u0430\u0442\u0430#\u0414\u041c\u041c\u041c\u041c\u0413\u0413\u0413\u0413]\"<\/span><span style=\"color: red;\">)<\/span><span style=\"color: red;\">;<\/span>\r\n<\/pre>\n<h3>\u0427\u0438\u0442\u0430\u0439\u0442\u0435 \u0442\u0430\u043a\u0436\u0435:<\/h3>\n<ol>\n<li><a title=\"\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0412: \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0444\u043e\u0440\u043c\u0430\u0442\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438\" href=\"http:\/\/www.about1c.ru\/v77\/language-reference\/appendix\/format-string\">\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0412: &#171;\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0444\u043e\u0440\u043c\u0430\u0442\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438&#187;<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043c\u0435\u0441\u044f\u0446 \u043f\u0440\u043e\u043f\u0438\u0441\u044c\u044e \u0434\u043b\u044f \u0434\u0430\u0442\u044b?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-1037","post","type-post","status-publish","format-standard","hentry","category-developer-faq"],"_links":{"self":[{"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/posts\/1037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/comments?post=1037"}],"version-history":[{"count":9,"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/posts\/1037\/revisions"}],"predecessor-version":[{"id":2520,"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/posts\/1037\/revisions\/2520"}],"wp:attachment":[{"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/media?parent=1037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/categories?post=1037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/tags?post=1037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}