Skip to content

How to create a PrimitiveDateTime type from an i64 of milliseconds since Epoch? #560

Closed Answered by jhpratt
detro asked this question in Question
Discussion options

You must be logged in to vote

without timezone

That's the key. Without a timezone does not mean UTC, which is what the Unix timestamp represents. You need to use OffsetDateTime for this reason.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@detro
Comment options

@jhpratt
Comment options

Answer selected by detro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants