> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/workflows/blocks/blocks/advanced-blocks/current-time.md).

# Current Time

Output the current date and time for a given timezone.

Provide one of the curated timezone options (for example `America/New_York`, `Europe/Berlin`, or `UTC`) and the block returns the current moment in that timezone. The block produces a `timestamp` (a timezone-aware `datetime` object you can pass to other blocks), along with ready-to-use `iso_string`, `date`, and `time` strings.

The timezone may be a literal value typed into the block, or a reference to a workflow input or another step's output.

### Type identifier

Use the following identifier in step `"type"` field: `roboflow_core/current_time@v1` to add the block as a step in your workflow.

### Properties

| **Name**   | **Type** | **Description**                                            | Refs |
| ---------- | -------- | ---------------------------------------------------------- | ---- |
| `name`     | `str`    | Enter a unique identifier for this step..                  | ❌    |
| `timezone` | `str`    | Curated IANA timezone name to report the current time in.. | ✅    |

The **Refs** column marks possibility to parametrise the property with dynamic values available in `workflow` runtime. See *Bindings* for more info.

### Input and Output Bindings

The available connections depend on its binding kinds. Check what binding kinds `Current Time` in version `v1` has.

<details>

<summary>Input and output bindings</summary>

* input
  * `timezone` ([*`string`*](/workflows/developer-guide/developer-guide/kinds/string.md)): Curated IANA timezone name to report the current time in..
* output
  * `timestamp` ([`timestamp`](/workflows/developer-guide/developer-guide/kinds/timestamp.md)): Timestamp object.
  * `iso_string` ([`string`](/workflows/developer-guide/developer-guide/kinds/string.md)): String value.
  * `date` ([`string`](/workflows/developer-guide/developer-guide/kinds/string.md)): String value.
  * `time` ([`string`](/workflows/developer-guide/developer-guide/kinds/string.md)): String value.

</details>

<details>

<summary>Example JSON definition</summary>

```json
{
	    "name": "<your_step_name_here>",
	    "type": "roboflow_core/current_time@v1",
	    "timezone": "UTC"
	}
```

</details>
