A simple date utility package
Project description
lorry_date
lorry_date
是一个简单的 Python 日期处理工具包,提供了获取当前日期和给定日期加上指定天数的功能。
安装
使用 pip 安装:
pip install lorry_date
使用方法
获取当前日期
from mydatepackage.dateutils import get_current_date
print(get_current_date())
给定日期加上指定天数
from mydatepackage.dateutils import add_days_to_date
print(add_days_to_date("2023-01-01", 10))
开发
要贡献此包,请克隆仓库并提交您的更改。
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
mydatepackage-0.1.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for mydatepackage-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f91efc4edaf2044f46850b099d3fd45e2ad4aaf998202eb10d89fb448342134 |
|
MD5 | 6141d37adce42229ca04c60a9513fd08 |
|
BLAKE2b-256 | a8de4e171902fb8f99d6d168ed17fc72097c3494b0e42fb0913ad2519141b05e |