formatDate

用途

允许使用 java.util.Date 接口的 SimpleDateFormat 类去格式化时间对象.

示例

<g:formatDate format="yyyy-MM-dd" date="${date}"/>

描述

属性

Source

Show Source