You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to understand what is the feature request.
So let's assume that time is November 25, 2021 00:00 then time + 1 hour will give you November 25, 2021 01:00 right?
How do you want to convert this to miliseconds?
Is this a question to convert 1 hour to miliseconds or literaly convert November 25, 2021 01:00 to milliseconds. And if so what would that value be?
Hello @tchar ,
As a software engineer, we often need to convert current date-time to number of millis since 1-1-1970. https://currentmillis.com/ provides some explanations around that.
Regards
Ah I see so you need the unix timestamp in whatever units.
Let me think if this is easy to implement.
The reason is because the time command does not use the converter (which uses pint) so it has to be implemented using text parsing or by calling the converted from within the Time Handler.
An easy solution could be to parse the query and if it is such a conversion.
Find the unix timestamp in seconds
Convert it to whatever time units
Generally these days I don't have much time, but I welcome anyone who wants to help implementing this.
Is your feature request related to a problem?
I would like to convert time to any unit (ms) for instance.
Describe the solution you'd like
time + 1 hour to ms
Describe alternatives you've considered
None with this tool.
Additional context
Not needed.
The text was updated successfully, but these errors were encountered: