Date Formatted ddMMyyyy

Hi,

When I format a date to dd-MM-yyyy I get 31-03-2020 in my text input.
<input name="TIMESTAMP" dmx-bind:value="var1.datetime.formatDate(&quot;dd-MM-yyyy&quot;)">
image

However, when I try ddMMyyy without the hyphen I just get ddMMyyyy entered.
<input name="TIMESTAMP" dmx-bind:value="var1.datetime.formatDate(&quot;ddMMyyyy&quot;)">
image

Is this a limitation of the date format function or am I doing in incorrectly?

Thanks,
Ray.

Community Page
Last updated: