Time Convert for Humans™
Project description
TimeConvert
TimeConvert is a simple time convert script(library) for Python, built for human beings.
Installation
pip install TimeConvert
Usage
from TimeConvert import TimeConvert as tc
tc.utc_timestamp()
Comparison
Function Points | TimeConvert | Other |
---|---|---|
TimeStamp | tc.local_timestamp(ms=True) | time.time() |
Variable
# Default Asia/Shanghai & %Y-%m-%d %H:%M:%S
from TimeConvert import TIME_ZONE, TIME_FORMAT
# Deassign TIME_ZONE & TIME_FORMAT
tc.__init__(timezone='Asia/Shanghai', format='%Y-%m-%d %H:%M:%S')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
TimeConvert-3.0.9.tar.gz
(14.4 kB
view hashes)
Built Distribution
Close
Hashes for TimeConvert-3.0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd362a3993df51561eb0f92d6763cbe54e2455a52e20dbfee6d30a772769f881 |
|
MD5 | 2f1c640909e85efd7941fc5792fd3cac |
|
BLAKE2b-256 | 1bc17331e5b5acd1ca40131eb30098ba6a44be2c74891a5fa269a9e4ae27d4db |