public class Time { public static void main(String[] args) { Date t = new Date(); DateFormat ti = new SimpleDateFormat("yyyy年MM月dd日 hh:mm:ss"); String s = ti.format(t); System.out.println("现在是佛山时间:"+s); } }
posted on
2018-05-31 17:00背起全世界の蜗牛
阅读(1019)
评论(0)
编辑收藏举报