Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在我的 Android 应用程序中获取 RFC 2616 格式的当前日期?
例如:格林威治标准时间 2006 年 4 月 5 日星期三 21:12:00
好的,我用这个方法得到它:
Calendar c = Calendar.getInstance(); String date = org.apache.http.impl.cookie.DateUtils.formatDate(c.getTime());