Android 获取当前时间函数
2018-01-04 17:20
260 查看
public static String getVoiceFileName() {
long getNowTimeLong = System.currentTimeMillis();
SimpleDateFormat time = new SimpleDateFormat(“yyyy-MM-dd-HH-mm-ss:SSS-E-F”);
String result = time.format(getNowTimeLong);
return result;
}
long getNowTimeLong = System.currentTimeMillis();
SimpleDateFormat time = new SimpleDateFormat(“yyyy-MM-dd-HH-mm-ss:SSS-E-F”);
String result = time.format(getNowTimeLong);
return result;
}
相关文章推荐
- Android 获取当前的时间。年月日,时分秒
- C语言gettimeofday()函数:获取当前时间
- android 获取当前时间的方法
- Javascript获取当前时间函数和时间操作小结
- C#获取时间戳的封装方法函数+使用获取当前时间时间戳
- android 获取系统当前时间
- Android开发中 获取当前Android的年月日时分秒的时间
- mysql 获取当前日期函数及时间格式化参数详解
- javascript获取当前日期时间及其它操作函数
- android获取系统当前年月日时分秒的时间
- Android 获取当前系统时间的两种方法
- Android 用Time和Calendar获取系统当前时间
- android 获取当前系统时间
- VC++获取当前系统时间日期 GetSystemTime()函数的用法
- Windows获取当前系统时间函数总结
- VC++获取当前系统时间日期 GetSystemTime()函数的用法
- Android 当前时间的获取
- Linux下获取系统当前时间函数实现
- MySQL获取系统当前时间的函数
- C语言gmtime()函数:获取当前时间和日期