ComfyUI Node
XDateTimeString
Generate a formatted string containing date and time identifiers for use in filenames or other purposes
XDateTimeString
- datetime_string
◄prefix►
◄format_template%Y%-%m%-%d%_%H%-%M%-%S%►
◄suffix►
Category♾️ Xz3r0/Workflow-Processing
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| prefix | STRING | Prefix string, added before datetime | |
| format_template | STRING | %Y%-%m%-%d%_%H%-%M%-%S% | Datetime format template, supports: %Y%(year), %m%(month), %d%(day), %H%(hour), %M%(minute), %S%(second) |
| suffix | STRING | Suffix string, added after datetime |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| datetime_string | STRING | Formatted datetime string |