offset date time.md

Offset Date/Time

The Offset date/time block offsets a date and time value by a specified number of years, months, days, hours, minutes, or seconds. For example, if the original date and time is 01.01.2017 10:00:05 and the offset is 1 year and 2 minutes with Offset method set to Add, the result is 01.01.2018 10:02:05.

This block has no green input or output connectors in the header because it is not explicitly executed. It is used to change a date and time value and deliver the result to other building blocks.

Fully expanded, the Offset date/time block shows the following properties:

Note: The screenshot on this page uses the Elegance Design , introduced in 2025.3. If you are using an earlier version, your layout may look different.

Quick-start

  1. Drag Offset date/time onto the canvas.

  2. Connect the block in the flow and specify Date/time to offset , Offset date/time , and Offset method.

  3. Run the flow when it's ready.

Building block parameters

Parameters

Provides the resulting date and time value after applying the offset operation.

Resources

Topic Description
Flows FAQ Common questions about creating, running, and managing flows in Leapwork.
Flows Troubleshooting Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.