Android 以特定格式显示当前时间
查看次数19315 发表时间2012-09-26 22:38:08
private static String getDateString(long milliSeconds) { Date date = new Date(milliSeconds); ret = DateFormat.format("MM/dd/yyyy", milliSeconds).toString(); return ret; }
(转发请注明转自:学PHP)
相关推荐
- Android位置策略(一) (2012-09-29 07:19:04)
- Android Context 详解 (2012-09-29 07:20:30)
- Android 广播大全 Intent Action 事件 (2012-09-29 07:20:38)
- [Android_机制]_Http和Socket连接区别.doc (2012-11-24 00:28:39)
- android关于xml的解析 (2012-12-21 21:50:10)
- Android中的Button自定义点击效果 (2012-09-26 22:38:05)
- onCreateOptionsMenu中 图标,文字创建 (2012-09-25 21:54:17)
- android 学习笔记十一 可视化频率(频谱) (2012-09-10 23:13:19)
- Android之进程与线程 (2012-09-10 23:13:07)
- [android]控件ImageView的常用属性 (2012-09-04 15:12:07)
发表评论