Skip to content

time lib is missing timegm #4820

@marcelstoer

Description

@marcelstoer

time.h is declaring gmtime (struct from time_t) but the inverse function is missing. timegm is like mktime but for UTC rather than local time.

While I could take existing implementations (-> here or here) ideally it'd be part of the platform.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions