/julian_date

A "Julian Date" workflow for Alfred.

Primary LanguagePythonMIT LicenseMIT

"Julian" Date utility for Alfred

Dates in the mainframe world are denoted by the number of days from January 1st of a given year, often referred to as the Julian Date. (I have Julian in quotation marks in the title because strictly speaking, the Julian Date is the number of days since January 1, 4713 BC; the date used in the mainframe world is the ordinal date.)

Functionality

  • Display today's Julian Date Basic usage

  • Calculate an offset of today's Julian Date Offset

  • Calculate a YYYY-MM-DD date given a Julian Date Julian -> Calendar

  • Calculate a Julian Date given a date in a variety of different formats Calendar -> Julian

After the result has been calculated, you can send a result to the clipboard by selecting the value you want to copy.

Notes

There are a lot of things that could be improved, such as dealing better with invalid entries, but it works well enough for me right now.

Credits

The tool is primarily written in python, using the following additional libraries: