ComfyUI > Nodes > Basic data handling > Add Time Delta

ComfyUI Node: Add Time Delta

Class Name

Basic data handling: TimeAddDelta

Category
Basic/time
Author
StableLlama (Account age: 861days)
Extension
Basic data handling
Latest Updated
2026-05-07
Github Stars
0.04K

How to Install Basic data handling

Install this extension via the ComfyUI Manager by searching for Basic data handling
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Basic data handling in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Add Time Delta Description

TimeAddDelta node adds a specified duration to a DATETIME, aiding in future date calculations.

Add Time Delta:

The TimeAddDelta node is designed to facilitate the manipulation of date and time data by allowing you to add a specified duration, known as a TIMEDELTA, to an existing DATETIME object. This operation results in a new DATETIME that reflects the original date and time adjusted by the specified duration. This node is particularly useful for scenarios where you need to calculate future dates or times based on a given starting point and a duration, such as scheduling events, reminders, or deadlines. By automating the addition of time intervals, the TimeAddDelta node simplifies complex date calculations, making it an essential tool for managing time-based data efficiently.

Add Time Delta Input Parameters:

datetime

The datetime parameter represents the initial date and time from which the calculation will begin. It is a DATETIME object that serves as the reference point for adding the specified duration. This parameter is crucial as it determines the starting point of the time addition operation. There are no minimum or maximum values for this parameter, as it can represent any valid date and time.

delta

The delta parameter is a TIMEDELTA object that specifies the duration to be added to the datetime parameter. This duration can include days, hours, minutes, seconds, and even microseconds, allowing for precise time adjustments. The delta parameter is flexible and can be customized to suit various time addition needs, making it a powerful tool for date manipulation.

Add Time Delta Output Parameters:

datetime

The output datetime is a DATETIME object that represents the new date and time resulting from the addition of the delta to the input datetime. This output is crucial for applications that require future date calculations, as it provides the adjusted date and time based on the specified duration. The output is always a single DATETIME object, ensuring consistency and reliability in time-based operations.

Add Time Delta Usage Tips:

  • Ensure that the datetime input is correctly formatted and represents the intended starting point for your calculations to avoid unexpected results.
  • Use the delta parameter to specify precise durations by combining different time units, such as days and hours, to achieve the desired time adjustment.

Add Time Delta Common Errors and Solutions:

Invalid datetime format

  • Explanation: This error occurs when the datetime input is not a valid DATETIME object.
  • Solution: Verify that the datetime input is correctly formatted and represents a valid date and time.

Invalid delta format

  • Explanation: This error arises when the delta input is not a valid TIMEDELTA object.
  • Solution: Ensure that the delta input is a properly constructed TIMEDELTA object, specifying the desired duration accurately.

Add Time Delta Related Nodes

Go back to the extension to check out more related nodes.
Basic data handling
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Add Time Delta