Skip to content

Using local time as UTC in the scratch tracking file #28

@omus

Description

@omus

The now() function returns the current time in the system's local time zone. The code here adds the Z suffix which indicates UTC time:

"time = ", string(now()), "Z\n",

julia> using Dates

julia> @show now() now(UTC);
now() = DateTime("2022-07-13T09:56:50.017")
now(UTC) = DateTime("2022-07-13T14:56:50.018")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions