1
我使用Google Drive REST API通过GET请求检索文件的“modifiedDate”属性,但我无法确定日期格式。使用Google Drive REST API的日期格式
谷歌的文档指出日期格式为RFC3339,但是当我做在PHP中的以下内容:
// The value I retrieve is "2014-11-20T13:34:19.139Z"
$date = \Datetime::createFromFormat(\Datetime::RFC3339, [value]);
PHP抛出一个错误说它不能使用这种格式制作和该值的日期。
你知道什么是它的REST API使用谷歌实际的日期格式?
感谢您的回答。
干杯。