Convert date field to HTML date

This function, used rarely will turn a string into the date format.

  1. $webapi.dateToHTML($UtilMethods.htmlToDate($Posting_Date),'MM/dd/yy')  

More information on manipulating dates is available here:

http://dotcms.com/docs/latest/VelocityDateAndCalendarTools

Dates - dotCMS Documentation

comments powered by Disqus