Skip to content

Commit e0c8af0

Browse files
authored
Update README.md
1 parent 3025049 commit e0c8af0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Alfred Datespan Workflow
22

3-
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:
3+
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:
44

55
- `datespan tomorrow`: countdown in hours and minutes
66
- `datespan 10/10/10`: difference in years, months, days, hours, and minutes—along with total business weeks, weeks, days, hours, and minutes
77
- `datespan 3/10 to 5/12`: all units above, but the span between zero-hour on each date
88

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.
9+
You can use any format that [`strtotime`](https://php.net/manual/en/function.strtotime.php) can parse.
1010

1111
Screenshots with a few more examples [on my blog](http://workingconcept.com/blog/date-span-alfred-workflow).
1212

0 commit comments

Comments
 (0)