{"id":485,"date":"2023-10-26T11:30:55","date_gmt":"2023-10-26T11:30:55","guid":{"rendered":"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/"},"modified":"2023-12-06T12:26:07","modified_gmt":"2023-12-06T12:26:07","slug":"%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/","title":{"rendered":"\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e vba datepart?"},"content":{"rendered":"<div class=\"excel--\" id=\"excel-3519457403\"><script type=\"text\/javascript\">\r\n\tatOptions = {\r\n\t\t'key' : 'c1158f160081d6540a8409e6925dab94',\r\n\t\t'format' : 'iframe',\r\n\t\t'height' : 250,\r\n\t\t'width' : 300,\r\n\t\t'params' : {}\r\n\t};\r\n<\/script>\r\n<script type=\"text\/javascript\" src=\"\/\/www.highperformanceformat.com\/c1158f160081d6540a8409e6925dab94\/invoke.js\"><\/script><\/div> <p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f VBA DATEPART \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u0432 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 \u0434\u0430\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 VBA. \u041a\u043e\u0433\u0434\u0430 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u0435\u0433\u043e \u0432 \u043a\u043e\u0434\u0435 VBA, <strong>\u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043d\u044f \u0438\u0437 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u0442\u044b \u0438\u043b\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<\/strong> . \u041f\u0440\u043e\u0449\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0435\u043a\u0443\u043d\u0434\u044b, \u043c\u0438\u043d\u0443\u0442\u044b, \u0447\u0430\u0441\u044b, \u0434\u043d\u0438, \u043c\u0435\u0441\u044f\u0446\u044b \u0438\u043b\u0438 \u0433\u043e\u0434\u044b \u0438\u0437 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u0442\u044b \u0438\u043b\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p><h2 class=\"wp-block-heading\"> \u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441<\/h2><p> <strong>DatePart(\u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b, \u0434\u0430\u0442\u0430, [\u043f\u0435\u0440\u0432\u044b\u0439 \u0434\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438, [\u043f\u0435\u0440\u0432\u0430\u044f \u043d\u0435\u0434\u0435\u043b\u044f \u0433\u043e\u0434\u0430]])<\/strong><\/p><h2 class=\"wp-block-heading\"> \u0410\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b<\/h2><ul><li> <strong>\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b<\/strong> : \u0441\u0442\u0440\u043e\u043a\u0430, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0430\u044f, \u043a\u0430\u043a\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0434\u0430\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0430 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435.<\/li><li> <strong>\u0414\u0430\u0442\u0430<\/strong> : \u0434\u0430\u0442\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u0447\u0430\u0441\u0442\u044c \u0434\u0430\u0442\u044b.<\/li><li> <strong>[FirstDayOfWeek]<\/strong> : \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0434\u043d\u044f \u043d\u0435\u0434\u0435\u043b\u0438 [\u044d\u0442\u043e \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442, \u0435\u0441\u043b\u0438 \u043e\u043d \u043e\u043f\u0443\u0449\u0435\u043d, vbSunday \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e].<ul><li> vbUseSystemDayOfWeek \u2014 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/li><li> vbSunday \u2013 \u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435<\/li><li> \u0432\u0431\u043b\u0443\u043d\u0434\u0435\u0439 \u2013 \u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a<\/li><li> vb\u0412\u0442\u043e\u0440\u043d\u0438\u043a \u2013 \u0432\u0442\u043e\u0440\u043d\u0438\u043a<\/li><li> vb\u0421\u0440\u0435\u0434\u0430 \u2013 \u0441\u0440\u0435\u0434\u0430<\/li><li> vb\u0427\u0435\u0442\u0432\u0435\u0440\u0433 \u2013 \u0427\u0435\u0442\u0432\u0435\u0440\u0433<\/li><li> vbFriday \u2013 \u041f\u044f\u0442\u043d\u0438\u0446\u0430<\/li><li> vb\u0421\u0443\u0431\u0431\u043e\u0442\u0430 \u2013 \u0421\u0443\u0431\u0431\u043e\u0442\u0430<\/li><\/ul><\/li><li> <strong>[FirstWeekOfYear]<\/strong> : \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0432\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0438 \u0433\u043e\u0434\u0430 [\u044d\u0442\u043e \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442, \u0435\u0441\u043b\u0438 \u043e\u043d \u043e\u043f\u0443\u0449\u0435\u043d, vbFirstJan1 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e].<ul><li> vbSystem \u2013 \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/li><li> vbFirstJan1 \u2014 \u043d\u0435\u0434\u0435\u043b\u044f, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f 1 \u044f\u043d\u0432\u0430\u0440\u044f.<\/li><li> vbFirstFourDays \u2014 \u043f\u0435\u0440\u0432\u0430\u044f \u043d\u0435\u0434\u0435\u043b\u044f, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0430\u044f \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u0434\u043d\u0435\u0439 \u0432 \u043d\u043e\u0432\u043e\u043c \u0433\u043e\u0434\u0443.<\/li><li> vbFirstFullWeek \u2014 \u043f\u0435\u0440\u0432\u0430\u044f \u043f\u043e\u043b\u043d\u0430\u044f \u043d\u0435\u0434\u0435\u043b\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u0433\u043e\u0434\u0430.<\/li><\/ul><\/li><\/ul><h2 class=\"wp-block-heading\"> \u041f\u0440\u0438\u043c\u0435\u0440<\/h2><p> \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART, \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0438\u0436\u0435, \u0433\u0434\u0435 \u043c\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043a\u043e\u0434 vba, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0435\u0435: <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"\u043f\u0440\u0438\u043c\u0435\u0440-vba-datepart-function\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-datepart.png\" sizes=\"auto, \" srcset=\"\" alt=\"example-vba-datepart-function\" width=\"793\" height=\"587\"><\/figure><\/div><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub example_DATEPART() Range(\"A2\").Value = DatePart(\"d\", Range(\"A1\")) Range(\"A3\").Value = DatePart(\"h\", Range(\"A1\")) Range(\"A4\").Value = DatePart(\"m\", Range(\"A1\")) Range(\"A5\").Value = DatePart(\"n\", Range(\"A1\")) Range(\"A6\").Value = DatePart(\"q\", Range(\"A1\")) Range(\"A7\").Value = DatePart(\"s\", Range(\"A1\")) Range(\"A8\").Value = DatePart(\"w\", Range(\"A1\")) Range(\"A9\").Value = DatePart(\"ww\", Range(\"A1\")) Range(\"A11\").Value = DatePart(\"y\", Range(\"A1\")) Range(\"A12\").Value = DatePart(\"yyyy\", Range(\"A1\")) End Sub<\/code><\/pre><p> \u0412 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u043c \u0432\u044b\u0448\u0435 \u043a\u043e\u0434\u0435 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0434\u0440\u0443\u0433\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0432 DATEPART:<\/p><ul><li> &#8216;d&#8217;, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0435\u043d\u044c, \u0438 \u043e\u043d \u0432\u0435\u0440\u043d\u0443\u043b 15.<\/li><li> &#8216;h&#8217;, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0447\u0430\u0441\u044b, \u043d\u043e \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 \u0434\u0430\u0442\u0435 \u043d\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f 0.<\/li><li> &#8216;m&#8217;, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043c\u0435\u0441\u044f\u0446, \u0438 \u043e\u043d \u0432\u0435\u0440\u043d\u0443\u043b 1.<\/li><li> &#8216;n&#8217;, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043c\u0438\u043d\u0443\u0442\u044b, \u043d\u043e \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0443 \u043d\u0430\u0441 \u043d\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432 \u0434\u0430\u0442\u0435, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 0.<\/li><li> \u00abq\u00bb, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u0432\u0430\u0440\u0442\u0430\u043b, \u0438 \u043e\u043d \u0432\u0435\u0440\u043d\u0443\u043b 1.<\/li><li> &#8216;s&#8217;, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0435\u043a\u0443\u043d\u0434\u044b, \u043d\u043e \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 \u0434\u0430\u0442\u0435 \u043d\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f 0.<\/li><li> &#8216;w&#8217;, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438, \u0438 \u043e\u043d \u0432\u0435\u0440\u043d\u0443\u043b 3.<\/li><li> \u00abww\u00bb, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0435\u0434\u0435\u043b\u044e \u0433\u043e\u0434\u0430, \u0438 \u043e\u043d\u0430 \u0432\u0435\u0440\u043d\u0443\u043b\u0430\u0441\u044c \u043a 3.<\/li><li> \u00aby\u00bb, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0435\u043d\u044c \u0433\u043e\u0434\u0430, \u0438 \u043e\u043d \u0432\u0435\u0440\u043d\u0443\u043b 15.<\/li><li> \u00ab\u0430\u0430\u0430\u0430\u00bb, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0433\u043e\u0434, \u0438 \u043e\u043d \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f \u0432 2019 \u0433\u043e\u0434.<\/li><\/ul><h2 class=\"wp-block-heading\"> \u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438<\/h2><ul><li> \u0415\u0441\u043b\u0438 \u0434\u0430\u0442\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u0431\u0435\u0437 \u0433\u043e\u0434\u0430, \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0433\u043e\u0434.<\/li><li> \u0415\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u0434\u0430\u0442\u044b \u0438\u043b\u0438 \u0434\u0430\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0442\u044c \u043a\u0430\u043a \u0434\u0430\u0442\u0443, VBA \u0432\u0435\u0440\u043d\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f 13.<\/li><li> \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u00ab\u043f\u0435\u0440\u0432\u044b\u0439\u0434\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438\u00bb \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u00ab\u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u00bb \u0440\u0430\u0432\u0435\u043d \u00abw\u00bb \u0438\u043b\u0438 \u00abww\u00bb. <\/li><\/ul><div class=\"wp-block-group more-tutorials is-layout-flow\"><div class=\"wp-block-group__inner-container\"><h2 class=\"wp-block-heading\"> \u0411\u043e\u043b\u044c\u0448\u0435 \u0443\u0440\u043e\u043a\u043e\u0432 <\/h2><div class=\"wp-block-columns is-layout-flex wp-container-300\"><div class=\"wp-block-column is-layout-flow\"><ul><li> <a href=\"https:\/\/exceladvisor.org\/ru\/\u0434\u0430\u0442\u0430-2\/\">\u0414\u0410\u0422\u0410 VBA<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/ru\/\u0434\u0430\u0442\u0430\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c\/\">VBA \u0414\u0410\u0422\u0415\u0410\u0414\u0414<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/ru\/\u0434\u0430\u0442\u0430\u0441\u0435\u0440\u0438\u0430\u043b\/\">\u0421\u0415\u0420\u0418\u0419 \u0414\u0410\u0422\u042b VBA<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/ru\/\u0434\u0430\u0442\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\/\">VBA \u0414\u0410\u0422\u0410\u0417\u041d\u0410\u0427\u0415\u041d\u0418\u0415<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/ru\/\u0434\u0435\u043d\u044c\/\">\u0414\u0415\u041d\u042c \u0412\u0411\u0410<\/a><\/li><\/ul><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"ub_ctt_via":"","footnotes":""},"class_list":["post-485","page","type-page","status-publish","hentry"],"featured_image_src":null,"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART? (\u0421 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c)<\/title>\n<meta name=\"description\" content=\"\u0423\u0437\u043d\u0430\u0439\u0442\u0435, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART \u0441 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c, \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u043a\u043e\u0434\u0430.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/exceladvisor.org\/ru\/\u0447\u0430\u0441\u0442\u044c-\u0434\u0430\u0442\u044b\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART? (\u0421 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c)\" \/>\n<meta property=\"og:description\" content=\"\u0423\u0437\u043d\u0430\u0439\u0442\u0435, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART \u0441 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c, \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u043a\u043e\u0434\u0430.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/ru\/\u0447\u0430\u0441\u0442\u044c-\u0434\u0430\u0442\u044b\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-06T12:26:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-datepart.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 \u043c\u0438\u043d\u0443\u0442\u0430\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/\",\"url\":\"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/\",\"name\":\"\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART? (\u0421 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c)\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/ru\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-datepart.png\",\"datePublished\":\"2023-10-26T11:30:55+00:00\",\"dateModified\":\"2023-12-06T12:26:07+00:00\",\"description\":\"\u0423\u0437\u043d\u0430\u0439\u0442\u0435, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART \u0441 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c, \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u043a\u043e\u0434\u0430.\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-datepart.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-datepart.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0414\u043e\u043c\",\"item\":\"https:\/\/exceladvisor.org\/ru\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e vba datepart?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/exceladvisor.org\/ru\/#website\",\"url\":\"https:\/\/exceladvisor.org\/ru\/\",\"name\":\"Excel Advisor\",\"description\":\"\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e \u0434\u043e\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u044b\u0445!\",\"publisher\":{\"@id\":\"https:\/\/exceladvisor.org\/ru\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/exceladvisor.org\/ru\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/exceladvisor.org\/ru\/#organization\",\"name\":\"Excel Advisor\",\"url\":\"https:\/\/exceladvisor.org\/ru\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/exceladvisor.org\/ru\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/exceladvisor.org\/ru\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/ru\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"width\":105,\"height\":36,\"caption\":\"Excel Advisor\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/ru\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART? (\u0421 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c)","description":"\u0423\u0437\u043d\u0430\u0439\u0442\u0435, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART \u0441 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c, \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u043a\u043e\u0434\u0430.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/exceladvisor.org\/ru\/\u0447\u0430\u0441\u0442\u044c-\u0434\u0430\u0442\u044b\/","og_locale":"ru_RU","og_type":"article","og_title":"\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART? (\u0421 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c)","og_description":"\u0423\u0437\u043d\u0430\u0439\u0442\u0435, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART \u0441 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c, \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u043a\u043e\u0434\u0430.","og_url":"https:\/\/exceladvisor.org\/ru\/\u0447\u0430\u0441\u0442\u044c-\u0434\u0430\u0442\u044b\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-06T12:26:07+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-datepart.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"1 \u043c\u0438\u043d\u0443\u0442\u0430"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/","url":"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/","name":"\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART? (\u0421 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c)","isPartOf":{"@id":"https:\/\/exceladvisor.org\/ru\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-datepart.png","datePublished":"2023-10-26T11:30:55+00:00","dateModified":"2023-12-06T12:26:07+00:00","description":"\u0423\u0437\u043d\u0430\u0439\u0442\u0435, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e VBA DATEPART \u0441 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c, \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u043a\u043e\u0434\u0430.","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-datepart.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-datepart.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/ru\/%d1%87%d0%b0%d1%81%d1%82%d1%8c-%d0%b4%d0%b0%d1%82%d1%8b\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0414\u043e\u043c","item":"https:\/\/exceladvisor.org\/ru\/"},{"@type":"ListItem","position":2,"name":"\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e vba datepart?"}]},{"@type":"WebSite","@id":"https:\/\/exceladvisor.org\/ru\/#website","url":"https:\/\/exceladvisor.org\/ru\/","name":"Excel Advisor","description":"\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e \u0434\u043e\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u044b\u0445!","publisher":{"@id":"https:\/\/exceladvisor.org\/ru\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/exceladvisor.org\/ru\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/exceladvisor.org\/ru\/#organization","name":"Excel Advisor","url":"https:\/\/exceladvisor.org\/ru\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/exceladvisor.org\/ru\/#\/schema\/logo\/image\/","url":"https:\/\/exceladvisor.org\/ru\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","contentUrl":"https:\/\/exceladvisor.org\/ru\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","width":105,"height":36,"caption":"Excel Advisor"},"image":{"@id":"https:\/\/exceladvisor.org\/ru\/#\/schema\/logo\/image\/"}}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/exceladvisor.org\/ru\/wp-json\/wp\/v2\/pages\/485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exceladvisor.org\/ru\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/exceladvisor.org\/ru\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/ru\/wp-json\/wp\/v2\/comments?post=485"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/ru\/wp-json\/wp\/v2\/pages\/485\/revisions"}],"predecessor-version":[{"id":1019,"href":"https:\/\/exceladvisor.org\/ru\/wp-json\/wp\/v2\/pages\/485\/revisions\/1019"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/ru\/wp-json\/wp\/v2\/media?parent=485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}