---
layout: page
title: "Date Time"
node_type: "nodetool.constant.DateTime"
namespace: "nodetool.constant"
---

**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.
