{"id":396,"date":"2024-10-01T09:17:03","date_gmt":"2024-10-01T09:17:03","guid":{"rendered":"https:\/\/eipnet.net\/?p=396"},"modified":"2024-10-01T09:21:51","modified_gmt":"2024-10-01T09:21:51","slug":"obtener-timestamp-en-batch","status":"publish","type":"post","link":"https:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/","title":{"rendered":"Obtener timestamp en batch"},"content":{"rendered":"\n<p>@echo off<br>:: CMD Timestamp for use in any way<br>:: (c) 2024 JaviValdivieso<br>set y=%date:~6,4%<br>set m=%date:~3,2%<br>set d=%date:~0,2%<br>set fecha=%y%%m%%d%<br>set h=%time:~0,2%<br>set m=%time:~3,2%<br>set hora=%h%%m%<br>set timestamp=%fecha%%hora%<br>echo %timestamp%<\/p>\n\n\n\n<p>::EJEMPLO DE USO: BACKUP<br>::Descomentar las l\u00edneas inferiores cuando se tengan las rutas<br>::La ruta origen no lleva barra al final<br>::set ORIGEN=RUTA_DE_ORIGEN<br>::set DESTINO=RUTA_DE_DESTINO<\/p>\n\n\n\n<p>::tar -czvf %DESTINO%\\%Timestamp%_file.tar.gz %ORIGEN%<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>@echo off:: CMD Timestamp for use in any way:: (c) 2024 JaviValdiviesoset y=%date:~6,4%set m=%date:~3,2%set d=%date:~0,2%set fecha=%y%%m%%d%set h=%time:~0,2%set m=%time:~3,2%set hora=%h%%m%set timestamp=%fecha%%hora%echo %timestamp% ::EJEMPLO DE USO: BACKUP::Descomentar las l\u00edneas inferiores cuando se tengan las rutas::La ruta origen no lleva barra al final::set ORIGEN=RUTA_DE_ORIGEN::set DESTINO=RUTA_DE_DESTINO ::tar -czvf %DESTINO%\\%Timestamp%_file.tar.gz %ORIGEN%<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"class_list":["post-396","post","type-post","status-publish","format-standard","hentry","category-coder"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Obtener timestamp en batch - Tentenpie digital<\/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:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Obtener timestamp en batch - Tentenpie digital\" \/>\n<meta property=\"og:description\" content=\"@echo off:: CMD Timestamp for use in any way:: (c) 2024 JaviValdiviesoset y=%date:~6,4%set m=%date:~3,2%set d=%date:~0,2%set fecha=%yd%set h=%time:~0,2%set m=%time:~3,2%set hora=%h%%m%set timestamp=%fecha%%hora%echo %timestamp% ::EJEMPLO DE USO: BACKUP::Descomentar las l\u00edneas inferiores cuando se tengan las rutas::La ruta origen no lleva barra al final::set ORIGEN=RUTA_DE_ORIGEN::set DESTINO=RUTA_DE_DESTINO ::tar -czvf %DESTINO%%Timestamp%_file.tar.gz %ORIGEN%\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/\" \/>\n<meta property=\"og:site_name\" content=\"Tentenpie digital\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-01T09:17:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-01T09:21:51+00:00\" \/>\n<meta name=\"author\" content=\"FranVal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"FranVal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/eipnet.net\\\/index.php\\\/2024\\\/10\\\/01\\\/obtener-timestamp-en-batch\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/eipnet.net\\\/index.php\\\/2024\\\/10\\\/01\\\/obtener-timestamp-en-batch\\\/\"},\"author\":{\"name\":\"FranVal\",\"@id\":\"https:\\\/\\\/eipnet.net\\\/#\\\/schema\\\/person\\\/e576543b89789e8d5aa564db3fea2bb4\"},\"headline\":\"Obtener timestamp en batch\",\"datePublished\":\"2024-10-01T09:17:03+00:00\",\"dateModified\":\"2024-10-01T09:21:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/eipnet.net\\\/index.php\\\/2024\\\/10\\\/01\\\/obtener-timestamp-en-batch\\\/\"},\"wordCount\":84,\"commentCount\":0,\"articleSection\":[\"Coder\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/eipnet.net\\\/index.php\\\/2024\\\/10\\\/01\\\/obtener-timestamp-en-batch\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/eipnet.net\\\/index.php\\\/2024\\\/10\\\/01\\\/obtener-timestamp-en-batch\\\/\",\"url\":\"https:\\\/\\\/eipnet.net\\\/index.php\\\/2024\\\/10\\\/01\\\/obtener-timestamp-en-batch\\\/\",\"name\":\"Obtener timestamp en batch - Tentenpie digital\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/eipnet.net\\\/#website\"},\"datePublished\":\"2024-10-01T09:17:03+00:00\",\"dateModified\":\"2024-10-01T09:21:51+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/eipnet.net\\\/#\\\/schema\\\/person\\\/e576543b89789e8d5aa564db3fea2bb4\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/eipnet.net\\\/index.php\\\/2024\\\/10\\\/01\\\/obtener-timestamp-en-batch\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/eipnet.net\\\/index.php\\\/2024\\\/10\\\/01\\\/obtener-timestamp-en-batch\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/eipnet.net\\\/index.php\\\/2024\\\/10\\\/01\\\/obtener-timestamp-en-batch\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/eipnet.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Obtener timestamp en batch\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/eipnet.net\\\/#website\",\"url\":\"https:\\\/\\\/eipnet.net\\\/\",\"name\":\"Tentenpie digital\",\"description\":\"Tapillas de unos y... de ceros\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/eipnet.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/eipnet.net\\\/#\\\/schema\\\/person\\\/e576543b89789e8d5aa564db3fea2bb4\",\"name\":\"FranVal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7e476950eea7d0564025f79cd217e6c3105fac8bb6b68a0f01a5116c964eb4da?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7e476950eea7d0564025f79cd217e6c3105fac8bb6b68a0f01a5116c964eb4da?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7e476950eea7d0564025f79cd217e6c3105fac8bb6b68a0f01a5116c964eb4da?s=96&d=mm&r=g\",\"caption\":\"FranVal\"},\"sameAs\":[\"https:\\\/\\\/eipnet.net\\\/\"],\"url\":\"https:\\\/\\\/eipnet.net\\\/index.php\\\/author\\\/franval\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Obtener timestamp en batch - Tentenpie digital","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:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/","og_locale":"es_ES","og_type":"article","og_title":"Obtener timestamp en batch - Tentenpie digital","og_description":"@echo off:: CMD Timestamp for use in any way:: (c) 2024 JaviValdiviesoset y=%date:~6,4%set m=%date:~3,2%set d=%date:~0,2%set fecha=%yd%set h=%time:~0,2%set m=%time:~3,2%set hora=%h%%m%set timestamp=%fecha%%hora%echo %timestamp% ::EJEMPLO DE USO: BACKUP::Descomentar las l\u00edneas inferiores cuando se tengan las rutas::La ruta origen no lleva barra al final::set ORIGEN=RUTA_DE_ORIGEN::set DESTINO=RUTA_DE_DESTINO ::tar -czvf %DESTINO%%Timestamp%_file.tar.gz %ORIGEN%","og_url":"https:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/","og_site_name":"Tentenpie digital","article_published_time":"2024-10-01T09:17:03+00:00","article_modified_time":"2024-10-01T09:21:51+00:00","author":"FranVal","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"FranVal","Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/#article","isPartOf":{"@id":"https:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/"},"author":{"name":"FranVal","@id":"https:\/\/eipnet.net\/#\/schema\/person\/e576543b89789e8d5aa564db3fea2bb4"},"headline":"Obtener timestamp en batch","datePublished":"2024-10-01T09:17:03+00:00","dateModified":"2024-10-01T09:21:51+00:00","mainEntityOfPage":{"@id":"https:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/"},"wordCount":84,"commentCount":0,"articleSection":["Coder"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/","url":"https:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/","name":"Obtener timestamp en batch - Tentenpie digital","isPartOf":{"@id":"https:\/\/eipnet.net\/#website"},"datePublished":"2024-10-01T09:17:03+00:00","dateModified":"2024-10-01T09:21:51+00:00","author":{"@id":"https:\/\/eipnet.net\/#\/schema\/person\/e576543b89789e8d5aa564db3fea2bb4"},"breadcrumb":{"@id":"https:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/eipnet.net\/index.php\/2024\/10\/01\/obtener-timestamp-en-batch\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/eipnet.net\/"},{"@type":"ListItem","position":2,"name":"Obtener timestamp en batch"}]},{"@type":"WebSite","@id":"https:\/\/eipnet.net\/#website","url":"https:\/\/eipnet.net\/","name":"Tentenpie digital","description":"Tapillas de unos y... de ceros","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eipnet.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Person","@id":"https:\/\/eipnet.net\/#\/schema\/person\/e576543b89789e8d5aa564db3fea2bb4","name":"FranVal","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/7e476950eea7d0564025f79cd217e6c3105fac8bb6b68a0f01a5116c964eb4da?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7e476950eea7d0564025f79cd217e6c3105fac8bb6b68a0f01a5116c964eb4da?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7e476950eea7d0564025f79cd217e6c3105fac8bb6b68a0f01a5116c964eb4da?s=96&d=mm&r=g","caption":"FranVal"},"sameAs":["https:\/\/eipnet.net\/"],"url":"https:\/\/eipnet.net\/index.php\/author\/franval\/"}]}},"_links":{"self":[{"href":"https:\/\/eipnet.net\/index.php\/wp-json\/wp\/v2\/posts\/396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eipnet.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eipnet.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eipnet.net\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eipnet.net\/index.php\/wp-json\/wp\/v2\/comments?post=396"}],"version-history":[{"count":3,"href":"https:\/\/eipnet.net\/index.php\/wp-json\/wp\/v2\/posts\/396\/revisions"}],"predecessor-version":[{"id":399,"href":"https:\/\/eipnet.net\/index.php\/wp-json\/wp\/v2\/posts\/396\/revisions\/399"}],"wp:attachment":[{"href":"https:\/\/eipnet.net\/index.php\/wp-json\/wp\/v2\/media?parent=396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eipnet.net\/index.php\/wp-json\/wp\/v2\/categories?post=396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eipnet.net\/index.php\/wp-json\/wp\/v2\/tags?post=396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}