Jump to content

"Julian" date display/conversion

Recommended Posts

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.) 


  • Display today's Julian Date screenshot-1.png

  • Calculate an offset of today's Julian Date screenshot-2.png

  • Calculate a YYYY-MM-DD date given a Julian Date screenshot-3.png

  • Calculate a Julian Date given a date in a variety of different formats screenshot-4.png

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


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.


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


Edited by Tam-Lin

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...