# Get Current Date and Time

> Get the current UTC date and time in various formats.

- ID: `get_current_datetime_basic`
- Type: Block
- Category: [Time](https://inventor.bot/docs/reference/blocks/time.md)

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `current_time_unix` | Current UTC time in Unix seconds. | e.g. `"1700000000"` |
| `current_time_unix_milli` | Current UTC time in Unix milliseconds. | e.g. `"1700000000000"` |
| `current_date_year` | Current UTC year. | e.g. `"2025"` |
| `current_date_month` | Current UTC month number. | e.g. `"12"` |
| `current_date_month_name` | Current UTC month name. | e.g. `"December"` |
| `current_date_day_of_week` | Current UTC day of week (0=Sunday). | e.g. `"1"` |
| `current_date_day_of_month` | Current UTC day of month. | e.g. `"10"` |
| `current_date_day_name` | Current UTC weekday name. | e.g. `"Wednesday"` |
| `current_date_mm_dd_yyyy` | Current UTC date formatted as MM/DD/YYYY. | e.g. `"12/10/2025"` |
| `current_date_dd_mm_yyyy` | Current UTC date formatted as DD/MM/YYYY. | e.g. `"10/12/2025"` |
| `current_time_hours` | Current UTC hour (24h). | e.g. `"15"` |
| `current_time_minutes` | Current UTC minute. | e.g. `"04"` |
| `current_time_seconds` | Current UTC second. | e.g. `"05"` |
| `current_time_milliseconds` | Current UTC millisecond. | e.g. `"123"` |
| `current_time_hh_mm_ss` | Current UTC time formatted as HH:MM:SS. | e.g. `"15:04:05"` |
| `current_time_hh_mm` | Current UTC time formatted as HH:MM. | e.g. `"15:04"` |
| `current_time_relative` | Human-readable relative time. | e.g. `"just now"` |

**Example**

```go
now := get_current_datetime_basic()
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Current Time (Unix): " + now.current_time_unix,
})
```