{{ js_integration_head_start() }} {{ head_elements() }} {{ head_css() }} {{ head_js() }} {{ js_integration_head() }} {{ require_attached_css(template_meta.attached_stylesheets, content.enable_layout_stylesheets) }} {{ require_attached_js(template_meta.attached_js) }}

How can I change the date format in my form's template?

Code example:

This is the EN date:  {%= date("en", "d. MMMM, YYYY", sektion1.whatDate) %} = En: 8. April, 2022

 

This is the GB date: {%= date("gb", "YYYY MMMM d", sektion1.whatDate) %} = Gb: 2022 April 8

 

This is the DA date: %= date("da", "YYYY MMMM d", sektion1.whatDate) %} = Da: 2022 april 8 

 

This is the ES date: {%= date("Es", "YYYY MMMM d", sektion1.whatDate) %} = Es: 2022 abril 8 

 

This is the HU date: {%= date("Hu", "YYYY MMMM d", sektion1.whatDate) %} = Hu: 2022 április 8