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

# core::starknet::info::get_block_timestamp

Returns the timestamp of the current block.

## Signature

```rust theme={null}
pub fn get_block_timestamp() -> u64
```

## Examples

```rust theme={null}
use starknet::get_block_timestamp;

let block_timestamp = get_block_timestamp();
```
