{"id":2038,"date":"2023-10-23T19:14:24","date_gmt":"2023-10-23T19:14:24","guid":{"rendered":"https:\/\/exceladvisor.org\/id\/filedatetime\/"},"modified":"2023-12-06T06:17:10","modified_gmt":"2023-12-06T06:17:10","slug":"filedatetime","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/id\/filedatetime\/","title":{"rendered":"Bagaimana cara menggunakan fungsi vba filedatetime?"},"content":{"rendered":"<div class=\"excel-before-content\" id=\"excel-328139293\"><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 style=\"text-align: left;\" data-css=\"tve-u-15fdcefd30f\">Fungsi <strong><span style=\"color: #ea493f;\" data-css=\"tve-u-15ff89cdea5\">FileDateTime VBA<\/span><\/strong> mengembalikan tanggal dan waktu terakhir yang diubah (sebagai string) dari file (buku kerja).<\/p><p> Anda harus menentukan alamat file sebagai argumen.<\/p><h2 class=\"\" data-css=\"tve-u-15ff8a258a0\"> <span style=\"font-family: Georgia,serif;\" data-css=\"tve-u-15ff89ea402\">Sintaksis<\/span><\/h2><p data-css=\"tve-u-15fb8fcfdd7\"> FileDateTime (Nama Jalur)<\/p><p data-css=\"tve-u-15ff8a0f610\"> <em>Dimana argumen PathName adalah jalur dan nama file yang Anda inginkan detailnya.<\/em><\/p><h2 class=\"\" data-css=\"tve-u-15ff8a2d489\"> <span style=\"font-family: Georgia,serif;\" data-css=\"tve-u-15ff8a2cabf\">Contoh<\/span><\/h2><p> Dalam kode VBA di bawah ini, kami telah menggunakan VBA FileDateTime untuk memasukkan tanggal dan waktu terakhir file desktop diubah ke dalam sel A1.<\/p><p> Sub modFile()Range(\u201cA1\u201d).Value = FileDateTime(\u201cC:\\Users\\Admin\\Desktop\\Book1.xlsx\u201d)End Sub<\/p><p> Saat Anda menjalankan kode ini, ia menambahkan tanggal dan waktu seperti di bawah ini di A1.<\/p><p> <span class=\"tve_image_frame\"><img loading=\"lazy\" decoding=\"async\" class=\"tve_image wp-image-18473\" title=\"kode dengan contoh filedatetime vba\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/code-avec-exemple-vba-filedatetime-1.png\" sizes=\"auto, \" srcset=\"\" alt=\"code with vba filedatetime example\" width=\"413\" height=\"127\" data-id=\"18473\"><\/span><\/p>","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-2038","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>Bagaimana cara menggunakan fungsi VBA FileDateTime? (Dengan contoh)<\/title>\n<meta name=\"description\" content=\"Pelajari cara menggunakan fungsi VBA FileDateTime dengan sintaksis, argumen, dan contoh dengan kode contoh.\" \/>\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\/id\/filedatetime\/\" \/>\n<meta property=\"og:locale\" content=\"id_ID\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bagaimana cara menggunakan fungsi VBA FileDateTime? (Dengan contoh)\" \/>\n<meta property=\"og:description\" content=\"Pelajari cara menggunakan fungsi VBA FileDateTime dengan sintaksis, argumen, dan contoh dengan kode contoh.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/id\/filedatetime\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-06T06:17:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/code-avec-exemple-vba-filedatetime-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/exceladvisor.org\/id\/filedatetime\/\",\"url\":\"https:\/\/exceladvisor.org\/id\/filedatetime\/\",\"name\":\"Bagaimana cara menggunakan fungsi VBA FileDateTime? (Dengan contoh)\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/id\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/id\/filedatetime\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/id\/filedatetime\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/code-avec-exemple-vba-filedatetime-1.png\",\"datePublished\":\"2023-10-23T19:14:24+00:00\",\"dateModified\":\"2023-12-06T06:17:10+00:00\",\"description\":\"Pelajari cara menggunakan fungsi VBA FileDateTime dengan sintaksis, argumen, dan contoh dengan kode contoh.\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/id\/filedatetime\/#breadcrumb\"},\"inLanguage\":\"id\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/id\/filedatetime\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\/\/exceladvisor.org\/id\/filedatetime\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/code-avec-exemple-vba-filedatetime-1.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/code-avec-exemple-vba-filedatetime-1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/id\/filedatetime\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Rumah\",\"item\":\"https:\/\/exceladvisor.org\/id\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bagaimana cara menggunakan fungsi vba filedatetime?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/exceladvisor.org\/id\/#website\",\"url\":\"https:\/\/exceladvisor.org\/id\/\",\"name\":\"Excel Advisor\",\"description\":\"Panduan utama Anda untuk mendominasi data!\",\"publisher\":{\"@id\":\"https:\/\/exceladvisor.org\/id\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/exceladvisor.org\/id\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"id\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/exceladvisor.org\/id\/#organization\",\"name\":\"Excel Advisor\",\"url\":\"https:\/\/exceladvisor.org\/id\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\/\/exceladvisor.org\/id\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/exceladvisor.org\/id\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/id\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"width\":105,\"height\":36,\"caption\":\"Excel Advisor\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/id\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bagaimana cara menggunakan fungsi VBA FileDateTime? (Dengan contoh)","description":"Pelajari cara menggunakan fungsi VBA FileDateTime dengan sintaksis, argumen, dan contoh dengan kode contoh.","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\/id\/filedatetime\/","og_locale":"id_ID","og_type":"article","og_title":"Bagaimana cara menggunakan fungsi VBA FileDateTime? (Dengan contoh)","og_description":"Pelajari cara menggunakan fungsi VBA FileDateTime dengan sintaksis, argumen, dan contoh dengan kode contoh.","og_url":"https:\/\/exceladvisor.org\/id\/filedatetime\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-06T06:17:10+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/code-avec-exemple-vba-filedatetime-1.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/id\/filedatetime\/","url":"https:\/\/exceladvisor.org\/id\/filedatetime\/","name":"Bagaimana cara menggunakan fungsi VBA FileDateTime? (Dengan contoh)","isPartOf":{"@id":"https:\/\/exceladvisor.org\/id\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/id\/filedatetime\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/id\/filedatetime\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/code-avec-exemple-vba-filedatetime-1.png","datePublished":"2023-10-23T19:14:24+00:00","dateModified":"2023-12-06T06:17:10+00:00","description":"Pelajari cara menggunakan fungsi VBA FileDateTime dengan sintaksis, argumen, dan contoh dengan kode contoh.","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/id\/filedatetime\/#breadcrumb"},"inLanguage":"id","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/id\/filedatetime\/"]}]},{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/exceladvisor.org\/id\/filedatetime\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/code-avec-exemple-vba-filedatetime-1.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/code-avec-exemple-vba-filedatetime-1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/id\/filedatetime\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Rumah","item":"https:\/\/exceladvisor.org\/id\/"},{"@type":"ListItem","position":2,"name":"Bagaimana cara menggunakan fungsi vba filedatetime?"}]},{"@type":"WebSite","@id":"https:\/\/exceladvisor.org\/id\/#website","url":"https:\/\/exceladvisor.org\/id\/","name":"Excel Advisor","description":"Panduan utama Anda untuk mendominasi data!","publisher":{"@id":"https:\/\/exceladvisor.org\/id\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/exceladvisor.org\/id\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"id"},{"@type":"Organization","@id":"https:\/\/exceladvisor.org\/id\/#organization","name":"Excel Advisor","url":"https:\/\/exceladvisor.org\/id\/","logo":{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/exceladvisor.org\/id\/#\/schema\/logo\/image\/","url":"https:\/\/exceladvisor.org\/id\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","contentUrl":"https:\/\/exceladvisor.org\/id\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","width":105,"height":36,"caption":"Excel Advisor"},"image":{"@id":"https:\/\/exceladvisor.org\/id\/#\/schema\/logo\/image\/"}}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/pages\/2038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/comments?post=2038"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/pages\/2038\/revisions"}],"predecessor-version":[{"id":2580,"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/pages\/2038\/revisions\/2580"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/media?parent=2038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}