---
title: "Date Time"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/constant/datetime
markdown: https://docs.nodetool.ai/nodes/nodetool/constant/datetime.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/constant/datetime.md
---

# Date Time

**Type:** `nodetool.constant.DateTime`

**Namespace:** `nodetool.constant`

## Description

Make a datetime object from year, month, day, hour, minute, second.
    datetime, make, create

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| year | `int` | Year of the datetime | `1900` |
| month | `int` | Month of the datetime | `1` |
| day | `int` | Day of the datetime | `1` |
| hour | `int` | Hour of the datetime | `0` |
| minute | `int` | Minute of the datetime | `0` |
| second | `int` | Second of the datetime | `0` |
| millisecond | `int` | Millisecond of the datetime | `0` |
| tzinfo | `str` | Timezone of the datetime | `UTC` |
| utc_offset | `int` | UTC offset of the datetime in minutes | `0` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `datetime` |  |

## Related Nodes

Browse other nodes in the [nodetool.constant](./) namespace.
