# LogicalTimestamp

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.LogicalTimestamp/

Logical timestamp.

- **Full name:** `MFiles.LogicalTimestamp`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-type"></a>`type` | [`LogicalTimestampType`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.LogicalTimestampType/index.md) | 1 | Logical timestamp type. Values: `LOGICAL_TIMESTAMP_TYPE_UNINITIALIZED` (0), `LOGICAL_TIMESTAMP_TYPE_IGNORED` (1), `LOGICAL_TIMESTAMP_TYPE_INTEGER` (2), `LOGICAL_TIMESTAMP_TYPE_STRING` (3), `LOGICAL_TIMESTAMP_TYPE_INTEGER_AND_STRING` (4). |
| <a id="f-data"></a>`data` | [`LogicalTimestampUnion`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.LogicalTimestampUnion/index.md) | 2 | The data as a union. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCIndexingDataSource.ConvertDestructionTimestampToLogical](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/ConvertDestructionTimestampToLogical/index.md): Converts a destruction time (a Windows FILETIME value) to the vault's logical destruction timestamp.
- [IRPCIndexingDataSource.GetNextFilesForFIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetNextFilesForFIX/index.md): Gets next object files for file data indexing.
- [IRPCIndexingDataSource.GetNextObjectsForIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetNextObjectsForIX/index.md): Gets next objects and their data for indexing.
- [IRPCIndexingDataSource.GetNextObjectsForMIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetNextObjectsForMIX/index.md): Gets next objects and their data for metadata indexing.
- [IRPCIndexingDataSource.GetSmallestTimestampForFiledataIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetSmallestTimestampForFiledataIX/index.md): Gets the smallest timestamp of a file that has been modified since specific Change Tracking version. Returns also the current Change Tracking version.
- [IRPCIndexingDataSource.GetSmallestTimestampForMetadataIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetSmallestTimestampForMetadataIX/index.md): Gets the smallest timestamp of an object that has been modified since specific Change Tracking version. Returns also the current Change Tracking version.
- [IRPCIndexingDataSource.HasMoreObjectsForFiledataIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/HasMoreObjectsForFiledataIX/index.md): Checks whether object files are waiting for a file data index, and optionally how many.
- [IRPCIndexingDataSource.HasMoreObjectsForIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/HasMoreObjectsForIX/index.md): Checks whether objects are waiting for a combined index, and optionally how many.
- [IRPCIndexingDataSource.HasMoreObjectsForMetadataIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/HasMoreObjectsForMetadataIX/index.md): Checks whether objects are waiting for a metadata index, and optionally how many.
- [IRPCIndexingDataSource2.GetCurrentTimestampForIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource2/GetCurrentTimestampForIX/index.md): Gets the vault's current crawl position for the combined enumerator: a crawl that starts there sees every change committed after the call and none committed before it.

<a id="used-by-messages"></a>

## Used by messages

- [`FileInfoForFIX`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.FileInfoForFIX/index.md): File info for file data indexing.
- [`IndexingRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndexingRequest/index.md): Indexing request.
- [`ObjIDInfoForMIX`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjIDInfoForMIX/index.md): Object ID info for metadata indexing.
- [`ObjectIndexMetadata`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjectIndexMetadata/index.md): Object ID info for metadata indexing.
