Metadata-Version: 2.1
Name: dorsa_datetime
Version: 1.0.1
Summary: Find current date and time
Home-page: https://github.com/DORSA-co/modules/tree/main/DORSA_DateTime
Author: Dorsa-co
Author-email: info@dorsa-co.ir
License: Apache License 2.0
Project-URL: Bug Tracker, https://github.com/DORSA-co/modules/tree/main/DORSA_DateTime/issues
Keywords: pypi,dorsa_datetime,tutorial
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Documentation
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# DateTime
DateTime is Python package that contains functions to get the current date and time.

## Installation and updating

Use the package manager  [pip](https://pip.pypa.io/en/stable/)  to install package.

## Usage
Features:
-   datetime_funcs.get_date --> retrns current date, wheter in shamsi or miladi
-   datetime_funcs.get_time --> returns current time
-   datetime_funcs.get_datetime --> returns both current date and time in wheater shamsi or miladi format
-   datetime_funcs.get_days_per_month --> returns number of days for a given month
#### Demo of the features:
```python
from  datetime_funcs  import  get_date
from  datetime_funcs  import  get_time
from  datetime_funcs  import  get_datetime
from  datetime_funcs  import  get_days_per_month

print(get_date(persian=True, folder_path=True))
print(get_time(folder_path=False))
print(get_datetime(persian=False, folder_path=False))
print(get_days_per_month(month=6, persian=True))
```
## License
[Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/)

