# Long

The Long block allows us to enter large whole number values into our graphs. It is similar to the Integer block but supports much larger values, as it is stored as a 64-bit signed integer. This block is useful when dealing with data that exceeds the range of regular integers.

In the following example, we use a Long block to specify a timestamp for a scheduled event in our graph:

<figure><img src="https://placehold.co/600x400" alt=""><figcaption></figcaption></figure>

When the above graph is run, it schedules the execution of a specific event at the timestamp provided by the Long block. The Long block allows us to handle large values for timestamps, ensuring precision and accuracy in time-related operations within the graph.

As with other base variable data types, we can use blocks to save and retrieve Long values at runtime, enabling persistent data storage and retrieval.

Conceptually, `Long` blocks are no different from [`Integer`](/dev-tooling/blocks/base-variable/integer.md) blocks: they both allow us to enter whole number values into our graphs.

The only difference between the integer data type and the long data type is the amount of memory allocated to store the data, which determines the maximum values we can use these data types for.

Integers are 32-bit, which means they can be used for any whole numbers from about negative 2.1 billion to positive 2.1 billion. Longs, on the other hand, are 64-bit, which means they can store any whole numbers between about negative 9.2 quintillion and positive 9.2 quintillion.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.graphlinq.io/dev-tooling/blocks/base-variable/long.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
