Skip to content

mattstein/alfred-datespan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alfred Datespan Workflow

Use this workflow to get the difference between two dates in Alfred. This relies exclusively on PHP’s DateInterval method, which is happy to accept a variety of inputs and works pretty well! Examples:

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

You can use any format that strtotime can parse.

Screenshots with a few more examples on my blog.

Comments, suggestions, criticisms, and pull requests all welcome!

Usage

Download or check out this repository, zip up its contents, and change the .zip file extension to .alfredworkflow. Double-click to install.

About

Quickly calculate a date range with Alfred

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages