Java:Timestamp格式化显示

来源:互联网 发布:lol网络延迟高 编辑:程序博客网 时间:2024/06/05 18:52
Timestamp now = new Timestamp(System.currentTimeMillis());   SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm");   String str = df.format(datetime); 
原创粉丝点击