-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
Add the unix time expression #753
Comments
Please look at the docs before asking something like this, he already added it a while ago: |
Alright, sorry, I searched only in skUnity. But it seems not to work:
Parsing as number:
Also, it does not work in math correctly (I could use my unix function normally):
I know I can parse it, but as it's seconds since 1970, shouldn't it be a number? My server / Skript info Hope it can be fixed soon. |
The existing expression is not seconds since epoch. Actually I don't recall why I named it so... |
So.. could you add it in the next update? Thanks. |
Next feature release, probably. But I try to avoid adding anything new to hotfixes to not introduce new bugs. |
Hello people.
I'm suggesting this because it'd be way easier to use, and even easier to implement.
Why?
1 hour, 3 minutes and 5 seconds
.It'd take a couple lines
long unix = Instant.now().getEpochSecond();
and will make date more versatile.Made this but it's not worth the 1 ms.
Hope you implement this!
Thanks!
The text was updated successfully, but these errors were encountered: