标签:main oid div orm blog out highlight java date
public static void main(String[] args) { SimpleDateFormat dateFormater = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date date=new Date(); System.out.print(dateFormater.format(date)); }
打印结果:
2017-04-28 11:16:21
标签:main oid div orm blog out highlight java date
原文地址:http://www.cnblogs.com/zjiacun/p/6781615.html