2024-09-26 18:10:41 发布
网友
我有一个很简单的问题 这是我代码的一部分
now = QDateTime.currentDateTime() # print('Local datetime: ', now.toString()) print('Local datetime: ', now.toString(Qt.ISODate))
输出为:
Local datetime: 2018-03-21T13:38:33
我的问题是,输出之间的‘T’是什么意思?你知道吗
"T"表示iso8601标准中时间戳的开始。你知道吗
"T"
MoreInfo
从Wiki:
A single point in time can be represented by concatenating a complete date expression, the letter T as a delimiter, and a valid time expression. For example, "2007-04-05T14:30".
"T"
表示iso8601标准中时间戳的开始。你知道吗MoreInfo
从Wiki:
相关问题 更多 >
编程相关推荐