You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use this workflow to get the difference between two dates in Alfred. This relies exclusively on PHP 5.3+'s [DateInterval](http://www.php.net/manual/en/dateinterval.format.php) method, which is happy to accept a variety of inputs and works pretty well! Examples:
2
4
3
5
-`datespan tomorrow`: countdown in hours and minutes
@@ -6,6 +8,10 @@ Use this workflow to get the difference between two dates in Alfred. This relies
6
8
7
9
You can use any format that [`strtotime`](https://php.net/manual/en/function.strtotime.php) can parse, so I'm sure there are plenty of variations I've not thought to try yet.
8
10
9
-
Screenshots with a few more examples [on my humble blog](http://workingconcept.com/blog/date-span-alfred-workflow).
11
+
Screenshots with a few more examples [on my blog](http://workingconcept.com/blog/date-span-alfred-workflow).
10
12
11
13
Comments, suggestions, criticisms, and pull requests all welcome!
14
+
15
+
## Usage
16
+
17
+
Download or check out this repository, zip up its contents, and change the `.zip` file extension to `.alfredworkflow`. Double-click to install.
0 commit comments