Get Time Between Dates

Subtracts the specified date from the date passed into the action. For example, this action could get the number of minutes from now until a calendar event passed in as input.

Score
Type
InterActivity
Expertise
4/5
Type
InterActivity
Expertise

Action Information

Parameters

Get time between [First Date] and [Second Date] in [Total Time/Seconds/Minutes/Hours/Days/Weeks/Months/Years]

Input

Calendar, Time interval, Photo media, Weather Conditions, Date, Contact, Health sample, Blood pressure, Text, iTunes media, Reminder, Trello card, Workout sample, Article

Result

Number

Details

Type
Interactivity
Expertise Needed
Matthew's Score
4/5
Category
Date Added
27/02/2015
Identifier
is.workflow.actions.gettimebetweendates

Notes

This action outputs a negative number if the input date takes place before the specified date.

Works Well With

shortcuts-action-icon-wait.webp
Wait
Waits for the specified number of seconds before continuing with the next action.
Date
Passes the specified date and time to the next action.
Get Dates from Input
Returns any dates found in the output from the previous action.

Shortcuts Using This

shortcut-count-down-to-christmas-morning-icon.png
Count down to Christmas morning
Shows you the total time between now and a specific time on Christmas day.