Skip to content

Add timestamp for date only (days since 1970-01-01, years since 1970). #296

Description

@mincequi

timestamp 16 stores the number of days that have elapsed since 1970-01-01 00:00:00 UTC
in an 16-bit unsigned integer:
+--------+--------+-----------------+-----------------+
| 0xd5 | -1 | days in 16-bit unsigned int |
+--------+--------+-----------------+-----------------+

timestamp 8 stores the number of years that have elapsed since 1970-01-01 00:00:00 UTC
in an 8-bit unsigned integer:
+--------+--------+-----------------------------------+
| 0xd4 | -1 | years in 8-bit unsigned int |
+--------+--------+-----------------------------------+

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions