去掉时间后的.0 问个菜鸟问题。我显示出的时间是2007-04-20 08:09:01.0怎么把.0去掉? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 SimpleDateFormat bartDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");bartDateFormat.format(你要转换的时间data) private static final DateFormat dateFormat = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss"); String strChargeTime = dateFormat.format(chargeTime); 求思路,求方法 SMPP协议SOCKET发送数据阻塞的问题 求Java正则表达式 我用了FlowLayout布局,.. JDBC和JNDI有哪些主要区别? j2ee1.4的使用问题 JBuilder和Eclipse哪个好? 求服务器端代码!! 请问这么使APPLT,写本地硬盘?听说有个什么数字签名,用户同意就可以写本地硬盘,是吗? 很具有挑战性的问题 怎么实现文件的分割与合并? 关于Jcreator的配置
"yyyy-MM-dd HH:mm:ss");
String strChargeTime = dateFormat.format(chargeTime);