> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IGameInput::GetCurrentTimestamp

> IGameInput::GetCurrentTimestamp

Returns a GameInput timestamp, taken at the moment the method is called.

## Syntax

```cpp theme={null}
uint64_t GetCurrentTimestamp();
```

### Parameters

None.

### Return value

Type: uint64\_t

[Input API Overview](https://docs.xbox.com/build/core-features/common/input/overviews/input-overview.md)\
[IGameInput](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/igameinput.md)\
[IGameInputReading::GetTimeStamp](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_gettimestamp.md)\
[IGameInputDevice::SetRumbleState](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_setrumblestate.md)

## Version History

| Version | Changes |
| - | - |
| **v0** | Introduced. |


## Related topics

- [IGameInput::GetTemporalReading (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinput/methods/igameinput_gettemporalreading.md)
- [IGameInput::GetCurrentReading](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading.md)
- [IGameInput::GetPreviousReading](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getpreviousreading.md)
- [IGameInput::GetNextReading](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getnextreading.md)
- [GetTimestamp](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_gettimestamp.md)
