/**
 * 取得当前时间
 * @return
 */
public static long getCurrentTime(){
return System.currentTimeMillis();
}
/**
 * 当前时间截
 * 格式化 
 * 日期: 2012年10月12日 14时32分  对应的时间戳为  201210121432
 */
public static String getCurrentDateFormatTime(){
SimpleDateFormat mSimpleDateFormat = new SimpleDateFormat("yyyyMMddHHmm");
return mSimpleDateFormat.format(getCurrentTime()).toString();
}我是想将mSimpleDateFormat.format(getCurrentTime()).toString();返回值转成 int 类型,然后插入数据库(数据库字段类型为 int).
试了几种方法  Integer.parseInt(string)
Integer.valueOf(string) 
豆包异常,希望大神来指点,谢谢~