Convert time between dates to total seconds

Takes two dates chosen as input and calculates the duration in seconds between thme – works as a Unix timestamp converter.

Actions Used

shortcuts-action-icon-copy-to-clipboard.webp
Copy to Clipboard
Copies the result of the last action to the clipboard.
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.
shortcuts-action-icon-show-result.webp
Show Result
Shows the specified text in Siri or in an alert.
shortcuts-action-icon-convert-measurement.webp
Convert Measurement
Converts the measurements passed into the action to the specified unit.
shortcuts-action-icon-measurement.webp
Measurement
Passes the specified measurement (including number and unit) to the next action.
action-icon-ask-for-input.webp
Ask for Input
Prompts the user to enter a piece of information.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Convert%20time%20between%20dates%20to%20total%20seconds
Open Shortcut deep link
shortcuts://open-shortcut?name=Convert%20time%20between%20dates%20to%20total%20seconds
AppleScript code
tell application “Shortcuts Events” run shortcut “Convert time between dates to total seconds” end tell

More From This Folder

More From The Library

Email myself

Save a short note to yourself by dictating or typing in the body, then automatically sending the email to your own email address with a canned title.

Get Shortcut »

Please disturb me

Sets the playback destination to AirPods Pro and turns Transparency on, turns off Do Not Disturb and Airplane Mode, turns on Cellular Data, Bluetooth, and Wi-Fi, sets the volume to 85%, the brightness to 100%, and turns on Light mode, then turns on every option for Sound Recognition, then vibrates if run from iPhone when it’s all done.

Get Shortcut »


Get way deeper into Shortcuts – become a member.