{"id":1964117,"date":"2025-02-18T03:37:22","date_gmt":"2025-02-18T08:37:22","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?p=1964117"},"modified":"2025-02-18T03:37:23","modified_gmt":"2025-02-18T08:37:23","slug":"how-to-change-the-birth-date-format-to-day-month-year-in-event-tickets-plus","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/how-to-change-the-birth-date-format-to-day-month-year-in-event-tickets-plus\/","title":{"rendered":"How to Change the Birth Date Format to Day\/Month\/Year in Event Tickets Plus"},"content":{"rendered":"\n<p>If you need to change the birth date format in Event Tickets Plus to display as <strong>day\/month\/year (DD\/MM\/YYYY)<\/strong> instead of the default format <strong>(month\/day\/year)<\/strong>, you can do so by creating a template override. This process requires some basic PHP\/HTML knowledge and the use of a <strong><a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/how-to-create-a-child-theme-and-why\/\">Child Theme<\/a><\/strong>.<\/p>\n\n\n\n<p>If you&#8217;re comfortable with these, follow the steps below:<\/p>\n\n\n\n<p>To modify the birth date format, override the default template file. Navigate to the following directory in your WordPress installation:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/wp-content\/plugins\/event-tickets-plus\/src\/views\/v2\/components\/meta\/<\/code><\/pre>\n\n\n\n<p>Locate the file <strong>birth.php<\/strong>, then copy and paste it into your theme\u2019s directory, maintaining the following structure:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;your-theme]\/tribe\/tickets-plus\/v2\/components\/meta\/birth.php<\/code><\/pre>\n\n\n\n<p>If the <strong>tribe\/tickets-plus\/v2\/components\/meta\/<\/strong> folders do not exist in your theme, create them manually.<\/p>\n\n\n\n<p>Open the copied <strong>birth.php<\/strong> file in a text editor and locate <strong>line 48<\/strong>, where the birth date format is defined. Swap the placement of the month and day as shown below to ensure the format is <strong>DD\/MM\/YYYY<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"909\" height=\"814\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/swap_day_month.jpg\" alt=\"\" class=\"wp-image-1964118\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/swap_day_month.jpg 909w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/swap_day_month-300x269.jpg 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/swap_day_month-768x688.jpg 768w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/><\/figure>\n\n\n\n<p>After making the necessary changes, save the modified <strong>birth.php<\/strong> file. You should have the following results below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"202\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/result-1024x202.jpg\" alt=\"\" class=\"wp-image-1964120\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/result-1024x202.jpg 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/result-300x59.jpg 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/result-768x152.jpg 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/result.jpg 1503w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-important-notes\">Important Notes<\/h3>\n\n\n\n<p>This customization applies only if you are using the <strong>Birth Date field<\/strong> in your Attendee Information settings as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"317\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/BirthDate-Field-1024x317.png\" alt=\"\" class=\"wp-image-1964121\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/BirthDate-Field-1024x317.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/BirthDate-Field-300x93.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/BirthDate-Field-768x238.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/02\/BirthDate-Field.png 1144w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><br>Moreover, please ensure you&#8217;ve added the <strong>birth.php<\/strong> file in your <strong>Child Theme<\/strong>; otherwise, your changes might be lost when updating your theme. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you need to change the birth date format in Event Tickets Plus to display as day\/month\/year (DD\/MM\/YYYY) instead of the default format (month\/day\/year), you can do so by creating a template override. This process requires some basic PHP\/HTML knowledge and the use of a Child Theme. If you&#8217;re comfortable with these, follow the steps&#8230;<\/p>\n","protected":false},"author":48,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[24,79],"tags":[20,25,58],"stellar-product-taxonomy":[161],"class_list":["post-1964117","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-customizing","category-snippets","tag-code","tag-customizations","tag-php","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":24,"label":"Customizations"},{"value":79,"label":"Snippets"}],"post_tag":[{"value":20,"label":"Code"},{"value":25,"label":"Customizations"},{"value":58,"label":"PHP"}],"stellar-product-taxonomy":[{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Paul Acido","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/paulacido\/"},"comment_info":0,"category_info":[{"term_id":24,"name":"Customizations","slug":"customizing","term_group":0,"term_taxonomy_id":24,"taxonomy":"category","description":"","parent":0,"count":110,"filter":"raw","term_order":"0","cat_ID":24,"category_count":110,"category_description":"","cat_name":"Customizations","category_nicename":"customizing","category_parent":0},{"term_id":79,"name":"Snippets","slug":"snippets","term_group":0,"term_taxonomy_id":79,"taxonomy":"category","description":"","parent":0,"count":136,"filter":"raw","term_order":"0","cat_ID":79,"category_count":136,"category_description":"","cat_name":"Snippets","category_nicename":"snippets","category_parent":0}],"tag_info":[{"term_id":20,"name":"Code","slug":"code","term_group":0,"term_taxonomy_id":20,"taxonomy":"post_tag","description":"","parent":0,"count":33,"filter":"raw","term_order":"0"},{"term_id":25,"name":"Customizations","slug":"customizations","term_group":0,"term_taxonomy_id":25,"taxonomy":"post_tag","description":"","parent":0,"count":177,"filter":"raw","term_order":"0"},{"term_id":58,"name":"PHP","slug":"php","term_group":0,"term_taxonomy_id":58,"taxonomy":"post_tag","description":"","parent":20,"count":128,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1964117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/48"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1964117"}],"version-history":[{"count":1,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1964117\/revisions"}],"predecessor-version":[{"id":1964122,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1964117\/revisions\/1964122"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1964117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1964117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1964117"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1964117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}