dorsa-datetime


Namedorsa-datetime JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/DORSA-co/modules/tree/main/DORSA_DateTime
SummaryFind current date and time
upload_time2023-04-09 07:01:14
maintainer
docs_urlNone
authorDorsa-co
requires_python
licenseApache License 2.0
keywords pypi dorsa_datetime tutorial
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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/)


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DORSA-co/modules/tree/main/DORSA_DateTime",
    "name": "dorsa-datetime",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "pypi,dorsa_datetime,tutorial",
    "author": "Dorsa-co",
    "author_email": "info@dorsa-co.ir",
    "download_url": "https://files.pythonhosted.org/packages/52/56/3f1a64b497ef9c24d5196a2f7933efd5f6b9c613d0ff0de787ba7e262b8d/dorsa_datetime-1.0.1.tar.gz",
    "platform": null,
    "description": "# DateTime\nDateTime is Python package that contains functions to get the current date and time.\n\n## Installation and updating\n\nUse the package manager  [pip](https://pip.pypa.io/en/stable/)  to install package.\n\n## Usage\nFeatures:\n-   datetime_funcs.get_date --> retrns current date, wheter in shamsi or miladi\n-   datetime_funcs.get_time --> returns current time\n-   datetime_funcs.get_datetime --> returns both current date and time in wheater shamsi or miladi format\n-   datetime_funcs.get_days_per_month --> returns number of days for a given month\n#### Demo of the features:\n```python\nfrom  datetime_funcs  import  get_date\nfrom  datetime_funcs  import  get_time\nfrom  datetime_funcs  import  get_datetime\nfrom  datetime_funcs  import  get_days_per_month\n\nprint(get_date(persian=True, folder_path=True))\nprint(get_time(folder_path=False))\nprint(get_datetime(persian=False, folder_path=False))\nprint(get_days_per_month(month=6, persian=True))\n```\n## License\n[Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/)\n\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "Find current date and time",
    "version": "1.0.1",
    "split_keywords": [
        "pypi",
        "dorsa_datetime",
        "tutorial"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c86684f33034178482cf83e814395b5aa044af931f1f74691f1d1f6d2c3fa8c",
                "md5": "20afee76cfe42eeef725842fa125624f",
                "sha256": "23c44ca2caf9f86e0c50eb801df0e2109c35293759359c5cadbd1c0ecb072d3c"
            },
            "downloads": -1,
            "filename": "dorsa_datetime-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "20afee76cfe42eeef725842fa125624f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6749,
            "upload_time": "2023-04-09T07:01:13",
            "upload_time_iso_8601": "2023-04-09T07:01:13.008825Z",
            "url": "https://files.pythonhosted.org/packages/8c/86/684f33034178482cf83e814395b5aa044af931f1f74691f1d1f6d2c3fa8c/dorsa_datetime-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "52563f1a64b497ef9c24d5196a2f7933efd5f6b9c613d0ff0de787ba7e262b8d",
                "md5": "d854e0e4642919162c627170b145751a",
                "sha256": "77ae4d7f475869f4151051e2b9c2af075514d2678eb70352a41213e961d15c37"
            },
            "downloads": -1,
            "filename": "dorsa_datetime-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d854e0e4642919162c627170b145751a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6446,
            "upload_time": "2023-04-09T07:01:14",
            "upload_time_iso_8601": "2023-04-09T07:01:14.767461Z",
            "url": "https://files.pythonhosted.org/packages/52/56/3f1a64b497ef9c24d5196a2f7933efd5f6b9c613d0ff0de787ba7e262b8d/dorsa_datetime-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-09 07:01:14",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "dorsa-datetime"
}
        
Elapsed time: 0.13326s