Tam-Lin Posted February 19, 2015 Posted February 19, 2015 (edited) I've published the following to GitHub (https://github.com/Tam-Lin/julian_date) I'll be putting a version up on Packal shortly. 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 Calculate an offset of today's Julian Date Calculate a YYYY-MM-DD date given a Julian Date Calculate a Julian Date given a date in a variety of different formats 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 workflow is primarily written in python, using the following additional libraries: deanishe's Alfred Workflow Framework python-dateutil icon courtesy of Oxygen Icon Team Edited February 23, 2015 by Tam-Lin
DrLulz Posted February 21, 2015 Posted February 21, 2015 (edited) GitHub link is broke, remove the semicolon it should work. Edited February 21, 2015 by DrLulz
Tam-Lin Posted February 23, 2015 Author Posted February 23, 2015 Parenthesis as well. It's fixed, now.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now