How can I change the file's last modified date
19,890
Try to use files.touch
Set the file's updated time to the current server time.
POST https://www.googleapis.com/drive/v2/files/fileId/touch
Author by
Admin
Updated on June 28, 2022Comments
-
Admin almost 2 years
How can I change the file's last modified date using the Document List Api? Is this possible? Google Drive client somehow does it!
-
LB-- almost 7 yearsThis can only set it to the current date.
-
LB-- almost 7 yearsPerhaps they want to set it to a date in the past rather than the present date.