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]

Notes

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

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

Shortcuts Using This

Count down to Christmas morning
Shows you the total time between now and a specific time on Christmas day.

Works Well With

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.

Details

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