java后台传来时间戳,jsp并不能用el 、fmt表达式来格式化时解决方法
var tDate = new Date(时间戳),
year = tDate .getFullYear(),
tMonth = tDate .getMonth()+1,
tDay = tDate .getDate(),
tH=tDate .getHours(),
tm=tDate .getMinutes(),
ts=tDate .getSeconds();
TTim...
原创
2019-02-20 09:04:46 ·
406 阅读 ·
0 评论