從數據庫中獲取的時間數據格式不一定符合需要,可根據下面的代碼進行修改
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