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,
})
Inputs
UUIDv7 to decode.
Example: 018f67c2-1c20-79a2-8000-000000000000
Outputs
Creation time in Unix seconds.
Example: 1700000000
Creation time in Unix milliseconds.
Example: 1700000000000
Year the UUID was created.
Example: 2025
Month number of creation.
Example: 12
Month name of creation.
Example: December
Day of week of creation (0=Sunday).
Example: 1
Day of month of creation.
Example: 10
Weekday name of creation.
Example: Wednesday
Creation date formatted as MM/DD/YYYY.
Example: 12/10/2025
Creation date formatted as DD/MM/YYYY.
Example: 10/12/2025
Creation hour (24h).
Example: 15
Creation minute.
Example: 04
Creation second.
Example: 05
Creation millisecond.
Example: 123
Creation time formatted as HH:MM:SS.
Example: 15:04:05
Creation time formatted as HH:MM.
Example: 15:04
Human-readable relative creation time.
Example: a minute ago
Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.
Advanced Documentation
This documentation can be useful when using code mode. View as Markdown
decode_uuid_v7_timeInputs
| Field | InventScript name | Value |
|---|---|---|
| UUID | uuid | e.g. "018f67c2-1c20-79a2-8000-000000000000" |
Outputs
| Field | InventScript name | Value |
|---|---|---|
| Unix Timestamp | unix_timestamp | e.g. "1700000000" |
| Unix Milliseconds | unix_milliseconds | e.g. "1700000000000" |
| Date (Year) | date_year | e.g. "2025" |
| Date (Month) | date_month | e.g. "12" |
| Date (Month Name) | date_month_name | e.g. "December" |
| Date (Day of Week) | date_day_of_week | e.g. "1" |
| Date (Day of Month) | date_day_of_month | e.g. "10" |
| Date (Day Name) | date_day_name | e.g. "Wednesday" |
| Date (MM/DD/YYYY) | date_mm_dd_yyyy | e.g. "12/10/2025" |
| Date (DD/MM/YYYY) | date_dd_mm_yyyy | e.g. "10/12/2025" |
| Time (Hours) | time_hours | e.g. "15" |
| Time (Minutes) | time_minutes | e.g. "04" |
| Time (Seconds) | time_seconds | e.g. "05" |
| Time (Milliseconds) | time_milliseconds | e.g. "123" |
| Time (HH:MM:SS) | time_hh_mm_ss | e.g. "15:04:05" |
| Time (HH:MM) | time_hh_mm | e.g. "15:04" |
| Time (Relative) | time_relative | e.g. "a minute ago" |