Convert date into BC and Show in dd/mm/yyyy format

To show date of transaction record in the ‘dd/mm/yyyy” format and convert it into BC

<table style="width:100%;>
<tr><td>
<#if record.trandate?has_content><#assign thaiDate = (record.trandate?string('yyyy')?number) + 543 /><#assign len = thaiDate?length>${record.trandate?string('MMMM dd, ${thaiDate}')}
</#if>
</td></tr>
</table>

Leave a comment

Your email address will not be published. Required fields are marked *