按格式输出时间(将DateTime格式转换为字符串). String time = dateTime.toString("yyyy-MM-dd hh:mm:ss.SSSa");. 小写hh是12小时制,大写HH是24小时制 ...
確定! 回上一頁