Skip to main content

Get Time Now Node

Get the current date and time.

The Get Time Now node returns the current date and time at the moment of execution, including timezone information. It has no parameters and is useful for timestamping, date-based file lookups, scheduling logic, or any workflow that needs to know the current time.

Parameters

ParameterTypeRequiredDefaultDescription
runModestringNoinputRun mode (typically left as input)

This node has no user-configurable parameters beyond the standard runMode.

Configuring This Node

This node requires no configuration. When you select a Get Time Now node, the configuration panel displays a brief message: "This node gets the current date and time with timezone information. No configuration is required."

There is no Run Mode selector, no Variable selector, no Instructions field, and no property fields — simply add the node to your workflow and it is ready to use.

Examples

1. Get Current Timestamp

Simply add the node to your workflow to get the current time:

Parameters:

{
"runMode": "input"
}

Output:

{
"timestamp": "2025-03-15T09:30:00.000Z",
"date": "2025-03-15",
"time": "09:30:00"
}

2. Use with Search Files by Name

Chain Get Time Now with Search Files by Name to find today's log file:

  1. Get Time Now → outputs current timestamp
  2. Search Files by Name → uses the timestamp to construct the file name (e.g. 2025-03-15.txt)

3. Use for Date-Based Filtering

Combine with a Filter node to keep only items from today:

  1. Get Time Now → outputs current date
  2. Transform → attach date to each item
  3. Filter → keep items where input.date === today

Output Structure

The node returns the current date and time with timezone information:

{
"timestamp": "2025-03-15T09:30:00.000Z"
}

The timestamp is in ISO 8601 format and includes timezone offset information (UTC). Downstream nodes can parse this value to extract the date, time, or convert to a local timezone as needed.

Important Notes

  • No configuration needed: This is one of the simplest nodes — just add it to your workflow and it returns the current time. The configuration panel confirms this with a message stating no setup is required.
  • Timezone information included: The returned timestamp includes timezone information in ISO 8601 format. The value is in UTC — convert to a local timezone in a downstream Code or Transform node if needed.
  • Common pattern: Get Time Now is commonly followed by Search Files by Name to locate date-specific files (e.g. daily Slack summaries).