-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide "time" as timestamp (milli seconds since epoch) #60
Comments
Just to clarify: Would the Unix epoch time like a 1697817375 be essentially what you are asking? Per https://en.wikipedia.org/wiki/Unix_time
Do we need to be more precise than seconds? What about Timezones? I guess since epoch is counting from 00:00:00 UTC on 1 January 1970 we would then assume that number of seconds represents the difference to the local UTC time. |
@TheSnoozer I need milliseconds precision but I guess |
Hello, A import java.time.Instant;
class HelloWorld {
public static void main(String[] args) {
System.out.println(Instant.ofEpochMilli(1697817924644L));
}
} would print
|
Describe the idea (required)
Some plugins need a
long
to represent a timestamp, with thetime
format it needs some custom conversion, sincetime
values come fromlong
it should be possible to just propagate them.Tell us about the expected behaviour (required)
Could be using
timeLong
or alike as suffix.Context (optional)
No response
PS: it looks quite straight forward but if it helps I'm happy to start to do some PR but was not sure of the solution so didn't start any yet
The text was updated successfully, but these errors were encountered: