Skip to main content

Get the number of days in a year

Project description

Year Days

Get the number of days in a year

Screenshot

Install

$ pip install yeardays

Usage

import yeardays

yeardays.get(2016)
#=> 366

yeardays.get(2018)
#=> 365

API

yeardays.get(input)

input

Type: string or number

Year to get days.

License

MIT

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

yeardays-1.0.2.tar.gz (1.5 kB view hashes)

Uploaded Source

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