从数据库中获取的时间数据格式不一定符合需要,可根据下面的代码进行修改
SimpleDateFormat format=new SimpleDateFormat("yyyy-MM-dd hh:mm");
Date date=format.parse(fabingshijian);
fabingshijian=format.format(date);
从数据库中获取的时间数据格式不一定符合需要,可根据下面的代码进行修改
SimpleDateFormat format=new SimpleDateFormat("yyyy-MM-dd hh:mm");
Date date=format.parse(fabingshijian);
fabingshijian=format.format(date);
(function(d, s, id) { let js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) retur
http://www.shsay.com http://blog.csdn.net/ladofwind/article/details/7535387