# Get UUIDv7 Creation Time

> Get the creation time of a UUIDv7.

- ID: `decode_uuid_v7_time`
- Type: Block
- Category: [Strings](https://inventor.bot/docs/reference/blocks/strings.md)

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `uuid` | yes | UUIDv7 to decode. | e.g. `"018f67c2-1c20-79a2-8000-000000000000"` |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `unix_timestamp` | Creation time in Unix seconds. | e.g. `"1700000000"` |
| `unix_milliseconds` | Creation time in Unix milliseconds. | e.g. `"1700000000000"` |
| `date_year` | Year the UUID was created. | e.g. `"2025"` |
| `date_month` | Month number of creation. | e.g. `"12"` |
| `date_month_name` | Month name of creation. | e.g. `"December"` |
| `date_day_of_week` | Day of week of creation (0=Sunday). | e.g. `"1"` |
| `date_day_of_month` | Day of month of creation. | e.g. `"10"` |
| `date_day_name` | Weekday name of creation. | e.g. `"Wednesday"` |
| `date_mm_dd_yyyy` | Creation date formatted as MM/DD/YYYY. | e.g. `"12/10/2025"` |
| `date_dd_mm_yyyy` | Creation date formatted as DD/MM/YYYY. | e.g. `"10/12/2025"` |
| `time_hours` | Creation hour (24h). | e.g. `"15"` |
| `time_minutes` | Creation minute. | e.g. `"04"` |
| `time_seconds` | Creation second. | e.g. `"05"` |
| `time_milliseconds` | Creation millisecond. | e.g. `"123"` |
| `time_hh_mm_ss` | Creation time formatted as HH:MM:SS. | e.g. `"15:04:05"` |
| `time_hh_mm` | Creation time formatted as HH:MM. | e.g. `"15:04"` |
| `time_relative` | Human-readable relative creation time. | e.g. `"a minute ago"` |

**Example**

```go
decodeUuidV7Time := decode_uuid_v7_time(Args{uuid: "018f67c2-1c20-79a2-8000-000000000000"})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Unix Timestamp: " + decodeUuidV7Time.unix_timestamp,
})
```