热门

最新

红包

立Flag

投票

同城

我的

发布
festone000
code-jam
5 年前
truefestone000

java Date,格式输出:

Date recentDate = new Date();
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String dateString = formatter.format(recentDate);

CSDN App 扫码分享
分享
评论
1
打赏
  • 复制链接
  • 举报
下一条:
python小白求问用sublime text打的代码为什么会报错呢,在线等
立即登录