Skip to content

FEATURE: Calculate day event was added #64

@linwoodc3

Description

@linwoodc3

The events 2.0 codebook describes the fraction date. Here is the code to convert the fraction date to the approximate date when the event happened. I'm assuming I had a fraction date of 2020.2438.

import datetime

datetime.datetime(day=1,month=1,year=2020) + datetime.timedelta(days=int(2438/9999 * 365))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions