import java.util.Date; public class E413 { public static void main(String args[]){ Date date=new Date(); System.out.printf("Time: \n%s",date); }
}
结果:
Time: Fri Apr 05 11:19:31 CST 2013
posted on 2013-04-05 11:21 agony· 阅读(234) 评论(0) 编辑 收藏 举报