<#assign test1 = "09-01-22"?date("yyyy-MM-dd") />;
<#assign test2 ="16:34:43"?time("HH:mm:ss") />
<#assign test2 = "2009-01-22 17:23:45"?datetime("yyyy-MM-dd HH:mm:ss") /><br/>
${test1?string('yyyy-MM-dd')}<br/>
<#assign myDate ="2910-12-31"?date("yyyy-MM-dd")/>
${myDate?string('yy-MM-dd HH:mm:ss')}
<#assign test2 ="16:34:43"?time("HH:mm:ss") />
<#assign test2 = "2009-01-22 17:23:45"?datetime("yyyy-MM-dd HH:mm:ss") /><br/>
${test1?string('yyyy-MM-dd')}<br/>
<#assign myDate ="2910-12-31"?date("yyyy-MM-dd")/>
${myDate?string('yy-MM-dd HH:mm:ss')}