---
name: "mongoc_gridfs_file_get_upload_date"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_gridfs_file_get_upload_date"
---

# mongoc\_gridfs\_file\_get\_upload\_date(3)

## SYNOPSIS

```
int64_t
mongoc_gridfs_file_get_upload_date (mongoc_gridfs_file_t *file);
```

## PARAMETERS

- •

  **file**: A *mongoc\_gridfs\_file\_t*.

## DESCRIPTION

Fetches the specified upload date of the gridfs file in milliseconds since the UNIX epoch.

## RETURNS

A signed int64 with the upload date in milliseconds since the UNIX epoch.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
