2012年10月23日

摘要: Java时间格式转换大全import java.text.*;import java.util.Calendar;public class VeDate {/** * 获取现在时间 * * @return 返回时间类型 yyyy-MM-dd HH:mm:ss */public static Date getNowDate() { Date currentTime = new Date(); SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String dateStr... 阅读全文
posted @ 2012-10-23 14:43 juan1206 阅读(274) 评论(0) 推荐(0) 编辑

导航