A demo on your website is just the start. Discover a dozen other marketing use cases • May 26
Register for AMA
Talk to RepX
Book a demo
Explore Hub
Platform
Products
Demos
Guided interactive demos and sandbox environments
Hubs
All the demos and collateral your buyers need in one place
New!
RepX
New
Conversational agents to qualify and convert prospects
Features
Demo Signals
Deal Intelligence
Personalization
Integrations
Enterprise
Download
Chrome Extension
Desktop App
Figma Plugin
Explore
AI-powered Lily
Built for Enterprise
Solutions
Used by GTM teams
Marketing
Turn curiosity into conversions with self-guided demos
Sales
Close more deals faster with interactive demo experiences
Customers
Customer Showcase
Check out how 5000+ GTM teams win with Storylane
Customer Resources
Customer Stories
Finer Demos Club
Demo Kitchen
Demo Dundies
    Our executive team continues to rave about how well Storylane visualizes our own tool!
Emily Elizabeth
VP Marketing
    Storylane's by far the easiest and most reliable out of other competitors.
Martin Kurowski
Product Marketing Manager
    Intuitive, powerful, and easy to use platform.
Matt Slotten
Marketing
35
demos in 3 weeks
Michael DeMarco
Product Marketing Manager
Read Case Study
    It’s actually kind of shocking how fast it was for us.
Katie Fairbank
Director of Product Marketing
Read Case Study
Wall Of Love
Resources
Resources
The Plot
Blog
Help Docs
Webinars
What’s New
Featured
Report
The impact of interactive demos on conversion rates & time to convert
What’s New
Release notes
New!
Pricing
Start for free
Book a demo
Platform
Products
Demos
Guided interactive demos and sandbox environments
Hubs
All the demos and collateral your buyers need in one place
New!
RepX
New
Conversational agents to qualify and convert prospects
Features
Demo Signals
Deal Intelligence
Personalization
Integrations
Enterprise
Download
Chrome Extension
Desktop App
Figma Plugin
Explore
AI-powered Lily
Built for Enterprise
Solutions
Used by GTM teams
Marketing
Turn curiosity into conversions with self-guided demos
Sales
Close more deals faster with interactive demo experiences
Customers
Customer Showcase
Check out how 5000+ GTM teams win with Storylane
Customer Resources
Customer Stories
Finer Demos Club
Demo Kitchen
Demo Dundies
    Our executive team continues to rave about how well Storylane visualizes our own tool!
Emily Elizabeth
VP Marketing
    Storylane's by far the easiest and most reliable out of other competitors.
Martin Kurowski
Product Marketing Manager
    Intuitive, powerful, and easy to use platform.
Matt Slotten
Marketing
35
demos in 3 weeks
Michael DeMarco
Product Marketing Manager
Read Case Study
    It’s actually kind of shocking how fast it was for us.
Katie Fairbank
Director of Product Marketing
Read Case Study
Wall Of Love
Resources
Resources
The Plot
Blog
Help Docs
Webinars
What’s New
Featured
Report
The impact of interactive demos on conversion rates & time to convert
What’s New
Release notes
New!
Pricing
Login
Start for free
Book a demo
It’s happening! Demo Dundies is back with Season 2.
Nominate your best demos
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Alteryx

How to Subtract the Dates in Alteryx

Updated on:
May 4, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to calculate the difference between two dates in Alteryx.

‍

It is very easy to subtract the dates in Alteryx. Here’s a short tutorial on how to do it in simple steps:

  1. Inside Alteryx's workflow designer, go to the left-side panel and find 'Formula'. Drag this tool onto the canvas and connect it to the Input Data tool or other sources.
  2. Following that, head over to the right-side panel and make all the required configurations. To get started, type a unique name into the Output Column field and then set its Field Type according to your preference.
  3. Type 'DateTimeDiff' into the Formula field, then select it from the suggested results.
  4. After that, replace DT1 with '[' and select the field containing the End Dates.
  5. Subsequently, replace DT2 with the field containing the Start Dates.
  6. As for the U, replace it with "Days" or other suitable unit of measure. Make sure that you enclose it inside a pair of quotation marks.
  7. Finally, the dates from the selected fields in your Alteryx workflow will be subtracted based on your input.

📌 Why this matters

Date subtraction transforms raw timestamps into actionable business metrics. You can calculate project durations, measure response times, track aging inventory, or determine employee tenure. Beyond simple math, this creates the foundation for time-based analytics that drive strategic decisions. When you subtract dates at scale across thousands of records, you're building datasets that reveal patterns in customer behavior, operational efficiency, and performance trends that would be invisible when looking at individual dates in isolation.

Your product deserves an interactive demo
Start free
Similar Articles
Alteryx

How to Compare Two Files in Alteryx

Madhav Bhandari
Director of Marketing @ Storylane
Alteryx

How to Use the Summarize Tool in Alteryx

Akshaya Chandramouli
Head of Brand at Storylane
Alteryx

How to Pivot the Data in Alteryx

Prashil Prakash
Marketing & Product Specialist @ Storylane
No items found.
Platform
Demos
RepX
Hubs
Integrations
Solutions
Marketing
Sales
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
Tutorials
Help Docs
What’s New
Demo Dundies
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it