Skip to main content

Convert dates between Unix, Gregorian, and International Fixed Calendar

Project description

UnixToIFCTime

A Python script to convert Unix timestamps to the International Fixed Calendar (IFC) format and vice versa.

Note: This implementation deviates from the original IFC proposal by adding leap year days (Year Day and Leap Day) to the end of the year, rather than placing them within the calendar as originally suggested.

Features

  • Converts Unix timestamps to IFC dates.
  • Accepts date input in YYYY-MM-DD format and outputs the corresponding IFC date.
  • Supports leap years and special days (Leap Day, Year Day).

Usage

python unixToIfcTime.py [-d DATE] [-u UNIXTIME]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ifcdate-0.1.3.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ifcdate-0.1.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file ifcdate-0.1.3.tar.gz.

File metadata

  • Download URL: ifcdate-0.1.3.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for ifcdate-0.1.3.tar.gz
Algorithm Hash digest
SHA256 713c0cdd90027faa003ddccf426dc5302fef254aa5e3933a64839f49c01df3f7
MD5 91ea984afcb1df3e072742546c2f64a9
BLAKE2b-256 e80abe5e4bae75b6977f8bac63e91fe935736a9202d6bab1df6ab99b6dddcf8f

See more details on using hashes here.

File details

Details for the file ifcdate-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ifcdate-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for ifcdate-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b5799a9459274c4064cb3ec3d5e129bc2be06b845e353490d88c17b1c979345d
MD5 afe6f38e285443602489e91a5bcde34d
BLAKE2b-256 7f720e23b611a2bb380c2200d59e0a0163d03170fb86dbecca7985a8694b603d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page