import java.util.Date; import javax.xml.crypto.Data; public class test4 { public static void main(String[] args) { Date date = new Date(); System.out.println(date); } }
结果:
Sat Dec 10 11:40:08 CST 2011
posted on 2011-12-10 13:14 wangbokun 阅读(109) 评论(0) 编辑 收藏 举报