Skip to main content

Date conversions used in the sciences.

Project description

https://zenodo.org/badge/81351748.svg https://travis-ci.org/scivision/sciencedates.svg?branch=master https://coveralls.io/repos/github/scivision/sciencedates/badge.svg?branch=master https://ci.appveyor.com/api/projects/status/r6adn3fdvk1qcx4r?svg=true Maintainability

sciencedates

Date conversions used in the sciences.

Install

python -m pip install -e .

Usage

Datetime => Year,DayOfYear

import sciencedates as sd

T = '2013-07-02T12'
yeardoy, utsec = sd.datetime2yd(T)

Results in year,DayOfYear; UTC fraction of day [seconds]

(2013102, 72000.0)

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

sciencedates-1.3.5.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

sciencedates-1.3.5-py3-none-any.whl (7.0 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