{"id":6581,"date":"2026-02-19T01:31:53","date_gmt":"2026-02-19T00:31:53","guid":{"rendered":"https:\/\/mailmergic.com\/faq\/warum-wird-das-datum-datumsformat-in-der-pdf-datei-nicht-korrekt-angezeigt\/"},"modified":"2026-02-19T01:31:53","modified_gmt":"2026-02-19T00:31:53","slug":"inkorrektes-datumsformat","status":"publish","type":"documentation","link":"https:\/\/mailmergic.com\/de\/faq\/inkorrektes-datumsformat\/","title":{"rendered":"Warum wird das Datum \/ Datumsformat in der PDF-Datei nicht korrekt angezeigt?"},"content":{"rendered":"\n<p>Das Datumsformat <strong>mm\/tt\/jj<\/strong> wird von Excel lokalisiert: Auch wenn in der Datei ein anderes Format angegeben ist (z. B. tt\/mm\/jjjj), wird es je nach Systemeinstellungen anders dargestellt. Dies ist sinnvoll, wenn sich Ersteller und Empf\u00e4nger von Dateien in derselben Region befinden, was aber im Internet nicht immer der Fall ist (wie in diesem Fall). Leider gibt es noch keinen &#8222;intelligenten&#8220; Weg, dies zu umgehen.<\/p>\n<h2 class=\"wp-block-heading\" id=\"loesung-1\"><strong>L\u00f6sung #1:<\/strong><\/h2>\n<p>Um ein korrekt formatiertes Datum in der generierten PDF-Datei zu erhalten, k\u00f6nnen Sie den Platzhaltertyp in MailMergic von <strong>Text <\/strong>in <strong>Datum <\/strong>\u00e4ndern.<\/p>\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"359\" src=\"https:\/\/mailmergic.com\/wp-content\/uploads\/2023\/10\/1-1024x359.png\" alt=\"\" class=\"wp-image-21396\" title=\"\" srcset=\"https:\/\/mailmergic.com\/wp-content\/uploads\/2023\/10\/1-1024x359.png 1024w, https:\/\/mailmergic.com\/wp-content\/uploads\/2023\/10\/1-300x105.png 300w, https:\/\/mailmergic.com\/wp-content\/uploads\/2023\/10\/1-768x269.png 768w, https:\/\/mailmergic.com\/wp-content\/uploads\/2023\/10\/1.png 1254w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<p>W\u00e4hlen Sie <strong>Datum <\/strong>als neuen Platzhaltertyp aus:<\/p>\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"554\" height=\"464\" src=\"https:\/\/mailmergic.com\/wp-content\/uploads\/2023\/10\/2.png\" alt=\"\" class=\"wp-image-21408\" style=\"aspect-ratio:1.1939655172413792;width:408px;height:auto\" title=\"\" srcset=\"https:\/\/mailmergic.com\/wp-content\/uploads\/2023\/10\/2.png 554w, https:\/\/mailmergic.com\/wp-content\/uploads\/2023\/10\/2-300x251.png 300w\" sizes=\"(max-width: 554px) 100vw, 554px\" \/><\/figure>\n\n<p>W\u00e4hlen Sie das Datumsformat aus, das Sie verwenden m\u00f6chten, oder definieren Sie Ihr eigenes Datumsformat:<\/p>\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"552\" height=\"560\" src=\"https:\/\/mailmergic.com\/wp-content\/uploads\/2023\/09\/3.png\" alt=\"\" class=\"wp-image-21420\" style=\"aspect-ratio:0.9857142857142858;width:390px;height:auto\" title=\"\" srcset=\"https:\/\/mailmergic.com\/wp-content\/uploads\/2023\/09\/3.png 552w, https:\/\/mailmergic.com\/wp-content\/uploads\/2023\/09\/3-296x300.png 296w\" sizes=\"(max-width: 552px) 100vw, 552px\" \/><\/figure>\n\n<p>Sie k\u00f6nnen die folgenden Zeichen verwenden, um Ihr eigenes Datumsformat zu definieren:<\/p>\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Format<\/th><th>Ausgabe<\/th><th>Beschreibung<\/th><\/tr><\/thead><tbody><tr><td><code><strong>YY<\/strong><\/code><\/td><td>18<\/td><td>Zweistellige Jahreszahl<\/td><\/tr><tr><td><code><strong>YYYY<\/strong><\/code><\/td><td>2018<\/td><td>Vierstellige Jahreszahl<\/td><\/tr><tr><td><code><strong>M<\/strong><\/code><\/td><td>1-12<\/td><td>Der Monat, beginnend um 1<\/td><\/tr><tr><td><code><strong>MM<\/strong><\/code><\/td><td>01-12<\/td><td>Der Monat, 2-stellig<\/td><\/tr><tr><td><code><strong>MMM<\/strong><\/code><\/td><td>Jan-Dez<\/td><td>Der abgek\u00fcrzte Monatsname<\/td><\/tr><tr><td><code><strong>MMMM<\/strong><\/code><\/td><td>Januar-Dezember<\/td><td>Der vollst\u00e4ndige Monatsname<\/td><\/tr><tr><td><code><strong>D<\/strong><\/code><\/td><td>1-31<\/td><td>Der Tag des Monats<\/td><\/tr><tr><td><code><strong>DD<\/strong><\/code><\/td><td>01-31<\/td><td>Der Tag des Monats, 2-stellig<\/td><\/tr><\/tbody><\/table><\/figure>\n<h2 class=\"wp-block-heading\" id=\"loesung-2\"><strong>L\u00f6sung #2:<\/strong><\/h2>\n<p>Um ein korrekt formatiertes Datum in der generierten PDF-Datei zu erhalten, k\u00f6nnen Sie das Datum als <strong>Textformat<\/strong> anstelle des <strong>Datumsformats<\/strong> direkt in Ihrer Excel-Tabelle speichern. Auf diese Weise wird das Datum immer so gedruckt, wie Sie es in Ihrer Excel-Datei sehen k\u00f6nnen.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"541\" height=\"471\" src=\"https:\/\/mailmergic.com\/wp-content\/uploads\/2022\/11\/date-format.png\" alt=\"\" class=\"wp-image-6574\" title=\"\" srcset=\"https:\/\/mailmergic.com\/wp-content\/uploads\/2022\/11\/date-format.png 541w, https:\/\/mailmergic.com\/wp-content\/uploads\/2022\/11\/date-format-300x261.png 300w\" sizes=\"(max-width: 541px) 100vw, 541px\" \/><\/figure>\n<div class=\"clearfix\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Das Datumsformat mm\/tt\/jj wird von Excel lokalisiert: Auch wenn in der Datei ein anderes Format&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","documentation_category":[21],"class_list":["post-6581","documentation","type-documentation","status-publish","format-standard","hentry","documentation_category-getting-started"],"_links":{"self":[{"href":"https:\/\/mailmergic.com\/de\/wp-json\/wp\/v2\/documentation\/6581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mailmergic.com\/de\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/mailmergic.com\/de\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/mailmergic.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mailmergic.com\/de\/wp-json\/wp\/v2\/comments?post=6581"}],"version-history":[{"count":0,"href":"https:\/\/mailmergic.com\/de\/wp-json\/wp\/v2\/documentation\/6581\/revisions"}],"wp:attachment":[{"href":"https:\/\/mailmergic.com\/de\/wp-json\/wp\/v2\/media?parent=6581"}],"wp:term":[{"taxonomy":"documentation_category","embeddable":true,"href":"https:\/\/mailmergic.com\/de\/wp-json\/wp\/v2\/documentation_category?post=6581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}