【发布时间】:2015-10-27 06:15:52
【问题描述】:
这是我的 pojo 类方法:
@Column(name = "TH_EFFECTIVE_TIME")
private Date thEffectiveTime;
public Date getThEffectiveTime() {
return thEffectiveTime;
}
public void setThEffectiveTime(Date thEffectiveTime) {
this.thEffectiveTime = thEffectiveTime;
}
我得到这样的错误输出:
1445925903000
【问题讨论】:
-
你能再解释一下吗?您想在哪里显示日期和时间?或者您想存储当前日期和时间?你是怎么安排时间的?
标签: java spring date spring-mvc datetime