数据库日期类型数据 java 转化。
CommUtil 为工具类
在页面转换数据库读出的日期格式 :
$!CommUtil.formatLongDate($!obj.lastLoginDate)
在服务器端转换数据库读出的日期格式 :
CommUtil.formatLongDate(obj.getLastLoginDate())
就爱阅读 www.92to.com 网友整理上传, 为您提供最全的知识大全, 期待您的分享,转载请注明出处。
来源: