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.

Matthew's Score
3/5
Total Actions
8
Built For

Shortcut Information

Use this shortcut if you’re working with a program that requires exact differences in time – seconds are the absolute unit of time that can more easily be converted back into other datetime values (than date strings, which can be tricky to parse).
Category
Complexity
Interactivity
Compatibility

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

You Might Also Like

Morning agenda

Speaks out the weather, reminders, and your calendar events, shows any notes created the day before, and then presents options for media to begin your day with.

Get shortcut »


Get way deeper into Shortcuts – become a member.