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.1.tar.gz (4.0 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.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ifcdate-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 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.1.tar.gz
Algorithm Hash digest
SHA256 4aa35000a458fe97863e81db643a02cf97478abbde1f6a10850883a1fc981ef0
MD5 737dd3af4d2c7d7844b453019d29f2f0
BLAKE2b-256 052c3df25eda905ef0d35641edf2bb90532c62fc5381a58572a01e4a0b4eee6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ifcdate-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 33b46766e3b501a9df1b3b3e8cb8009cd9816ff74245606039ea61940b114356
MD5 7254a148c5591aad8e51b25102e2d848
BLAKE2b-256 5785248d399d5c62df78745af1e24245229bd6f98c3cca29d6fa07f005c8f4c5

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