Skip to content

Instantly share code, notes, and snippets.

@Mikelem
Mikelem / date_config.py
Last active February 15, 2024 18:01
subscriptions-run subscriptions_json.py first
from datetime import datetime, date
from dateutil.relativedelta import relativedelta
from datetime import timedelta
import os
"""
Necessary for sort_maint.py and sort_maint_records.py
"""
# These DATE STRINGS are absolutely necessary to compare against