ComfyUI Node
Extract Time Components
Extracts individual components (year, month, day, hour, etc.) from a DATETIME object. Weekday is returned as an integer, where Monday is 0 and Sunday is 6.
Extract Time Components
- datetime
- year
- month
- day
- hour
- minute
- second
- microsecond
- weekday
CategoryBasic/time
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| datetime | DATETIME | — |
Outputs (8)
| Name | Type | Description |
|---|---|---|
| year | INT | — |
| month | INT | — |
| day | INT | — |
| hour | INT | — |
| minute | INT | — |
| second | INT | — |
| microsecond | INT | — |
| weekday | INT | — |