The frequently asked questions about Box file timestamps are answered in this article:
- What are Box file timestamps?
- What timestamps does Box display for each file?
- Does Box preserve Created and Modified timestamps when uploading content to Box?
- Where are the file timestamps visible?
- What file operations affect the Modified timestamps?
- What file operations do not affect the Modified timestamps?
- When I add a new file version, what timestamps are affected?
- Are timestamps preserved when downloading files from Box?
- Is the timestamp affected when I delete a file or restore a file from trash?
- What timestamp is displayed if one of my files does not have an associated timestamp for the Created and Modified operations?
- How does Box Sync handle timestamps for synced files?
- How do the Box APIs handle timestamp displays?
What are Box file timestamps?
Box records file times and dates when files are created, modified, or uploaded on Box.
Box stores timestamp values in UTC format, so they are not affected by changes in time zone or daylight saving time.
What timestamps does Box display for each file?
Box displays the following timestamps for each file operation:
-
Created: The timestamp when the file was created.
This timestamp display does not change if you save or modify this file. - Modified: The timestamp when the contents of a file were last modified.
- Uploaded: The timestamp when the file was uploaded to Box. This timestamp display changes for each uploaded version.
- Updated: The timestamp when the file was last changed in Box (Modified or Uploaded).
The timestamp display does not change when you open, close, view, or rename a file.
Does Box preserve Created and Modified timestamps when uploading content to Box?
The timestamps are preserved based on the file upload method and protocol as described in the following table.
Caution: Be aware that some browsers are affiliated with particular upload mechanisms like HTML, or Ajax.
Box Upload Method | Version | Modified Timestamp Preserved? | Created Timestamp Preserved? |
---|---|---|---|
Box Drive |
2.40 or later |
Files: Yes
Folders: No, a folder's "Modified" timestamp is the date when the folder is created on Box. |
Files: Yes
Folders: No, a folder's "Created" timestamp is the date when the folder is created on Box. |
Sync (on user's desktop) |
Box Sync (Box Sync 4.0.4376 and later) |
Files: Yes
Folders: No, a folder's "Modified" timestamp is the date when the folder is created on Box. |
Files: Yes
Folders: No, a folder's "Created" timestamp is the date when the folder is created on Box. |
FTP |
If the FTP client supports this feature. See FTP: Preserve Original Created/Modified Times for additional details |
Files: Yes
Folders: No, a folder's "Modified" timestamp is the date when the folder is created on Box. |
Files: Yes
Folders: No, a folder's "Created" timestamp is the date when the folder is created on Box. |
Mobile |
iPhone (Box for iPhone 3.0.1 and later) |
Files: Yes
Folders: No, a folder's "Modified" timestamp is the date when the folder is created on Box. |
Files: Yes
Folders: No, a folder's "Created" timestamp is the date when the folder is created on Box. |
Android |
Files: Yes
Folders: No, a folder's "Modified" timestamp is the date when the folder is created on Box. |
Files: No The "Created" timestamp is set to the last modified date for the first version of a file, and not changed for subsequent versions
Folders: No, a folder's "Created" timestamp is the date when the folder is created on Box. |
|
Web Application and Embed Widget For all web browser uploads, the created timestamp is set to the last modified date - based on when the file was first uploaded to Box |
Files: Yes
Folders: No, a folder's "Modified" timestamp is the date when the folder is created on Box. |
Files: No The "Created" timestamp is set to the last modified date for the first version of a file, and not changed for subsequent versions.
Folders: No, a folder's "Created" timestamp is the date when the folder is created on Box. |
|
Files: Yes
Folders: No, a folder's "Modified" timestamp is the date when the folder is created on Box. |
|||
Other options |
|
Files: No
Folders: No, a folder's "Modified" timestamp is the date when the folder is created on Box. |
Files: No
Folders: No, a folder's "Created" timestamp is the date when the folder is created on Box. |
Where are the file timestamps visible?
Box file timestamp information is displayed in several locations:
- Web application: The File Properties window displays the Created and Modified timestamps.
To view this information: right-click on a file or click the ellipses button (...), then select Properties and click File Information. - Box Sync: Your local file system displays the Created or Modified timestamps in the Finder or Explorer window for newly-synced files.
What file operations affect the Modified timestamps?
The Modified timestamp changes when you edit the contents of a file.
What file operations do not affect the Modified timestamps?
The Modified timestamp does not change when you perform any of the following file operations:
- Preview or download a file
- Add, update, or delete comments/tasks/file descriptions
- Share or unshare a link
- Send a shared or direct link
- Open, close, or rename a file
When I add a new file version, what timestamps are affected?
The following list identifies the affected timestamps each time you add a new file version:
- Created: The new version does not affect the Created timestamp.
- Modified: The new version reflects the Modified timestamp for this file version.
- Uploaded: The new version reflects the Uploaded timestamp for this file version.
Are timestamps preserved when downloading files from Box?
When you download a single file, the created and modified date is not preserved, rather it will be set to the time of download.
When you download multiple files from Box, the selected files (folders) are downloaded to your computer as a ZIP file. The Modified timestamp for each file (or files within a folder) is set to the same timestamp as when the content was last modified in Box.
Each ZIP client handles the uncompressed timestamp information differently. See your ZIP client documentation for further details.
You can also use the Box API to obtain file timestamp information.
Is the timestamp affected when I delete a file or restore a file from trash?
If you delete a file and restore it from trash at a later date, there is no change to the timestamp. Box continues to maintain the timestamp of the file and restores it seamlessly.
What timestamp is displayed if one of my files does not have an associated timestamp for the Created and Modified operations?
If a file does not have a created timestamp or the modified timestamp after it is uploaded to Box, then Box uses the timestamp when this file was first uploaded to Box.
Similarly, if your local device cannot pass the timestamp, then Box uses the timestamp when this file was first uploaded to Box.
How does Box Sync handle timestamps for synced files?
Effective Release 4.0.4376, Box Sync preserves the created and modified timestamps when downloading files from Box. Additionally, when a file is added to Box Sync via the desktop, the created and modified timestamps for each file are also visible via the web application.
Box Sync preserves timestamps when content changes on Box or in your local file system, sending timestamps to Box during uploads, and setting timestamps on the local file system during downloads.
If a timestamp changes without the file's content changing, the new timestamp won't be applied to the other file system.
How do the Box APIs handle timestamp displays?
See the developer documentation for more information on timestamps used in Box APIs. All information provided in this article also applies to timestamp displays using Box APIs.