You will probably need to write an assistant. Details on how to write an assistant can be found here:
Your template for the Date string will look like this:
<p>Today: {@formatDate value="{today}"/}</p>
Your assistant will be something like this:
dust.helpers.formatDate = function (chunk, context, bodies, params) { var value = dust.helpers.tap(params.value, chunk, context), timestamp, month, date, year; timestamp = new Date(value); month = timestamp.getMonth() + 1; date = timestamp.getDate(); year = timestamp.getFullYear(); return chunk.write(date + '.' + month + '.' + year); };
You would like to add a part to get the leading zero before the month or date.
source share