Skip to content

SetDate p/invoke #6962

@iSazonov

Description

@iSazonov

We use p/invoke to set system datetime.
Proposed API in CoreFX repo .

While we wait the API we could replace two mktime and settimeofday libc calls with stime on Unix. This eliminates unnecessary mktime call and marshaling of tm structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Code Cleanupthe issue is for cleaning up the code with no impact on functionalityWG-Enginecore PowerShell engine, interpreter, and runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions