Skip to main content

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


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)

Uploaded Source

Built Distribution

mydatepackage-0.1.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

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