Skip to content

Instantly share code, notes, and snippets.

View fushnisoft's full-sized avatar

Brahn Partridge fushnisoft

View GitHub Profile
@swilcox
swilcox / clarion_utils.py
Created September 19, 2011 18:36
python code to convert a standard date to a clarion date
import datetime
CLARION_DAY_ZERO = datetime.date(1800,12,28) #this is the important date to work with!
def date_to_clarion_date(input_date):
"""
this is evil because I'm not checking jack...