Skip to content
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

.NET Ticks (timestamp) converter #512

Closed
epeshk opened this issue May 2, 2022 · 9 comments · Fixed by #1009
Closed

.NET Ticks (timestamp) converter #512

epeshk opened this issue May 2, 2022 · 9 comments · Fixed by #1009
Labels
enhancement Idea of improvement of existing feature.
Milestone

Comments

@epeshk
Copy link

epeshk commented May 2, 2022

What's the Problem?

Feature request: .NET Ticks (timestamp) converter, like https://tickstodatetime.azurewebsites.net/

Solution/Idea

as stated above

Alternatives

Use website, or C# interactive

Priorities

Capability Priority
This proposal will allow developers to accomplish W Must
This proposal will allow end users to accomplish X Should
This proposal will allow developers to accomplish Y Could
This proposal will allow end users to accomplish Z Won't

DevToys Version

No response

Comments

No response

@veler
Copy link
Collaborator

veler commented May 15, 2022

Hi @epeshk ,

Thanks for your feedback.
There's already a timestamp converter in DevToys. Does it not do what you are expecting?

@tony-li-avepoint
Copy link

Hi @veler ,

Current timestamp converter is UNIX timestamp like "1655263430", but what @epeshk expected is .NET timestamp like "637908602300000000" which is also what I expected, please consider supporting it.

Thanks,

@veler
Copy link
Collaborator

veler commented Jun 15, 2022

Oh I see! Thanks for explaining this 😁

@veler veler added the enhancement Idea of improvement of existing feature. label Jun 15, 2022
@niyari
Copy link
Contributor

niyari commented Jul 11, 2022

Difficult to place UI for settings.
image
image
The UI is different from other tools, but I think this UI is easy to understand.

@XXXXXXzmm
Copy link

Difficult to place UI for settings. image image The UI is different from other tools, but I think this UI is easy to understand.

Hello, when can I use this new function? I still haven't found any options to switch in the latest version. I think this function is more important to me

@niyari
Copy link
Contributor

niyari commented Feb 2, 2023

The input part of Timestamp uses WinUI(muxc:NumberBox).
NumberBox uses Double.
It is unlikely to be changed from Double because it needs to work the same way in various environments.

Converting the NumberBox to ms as it is will result in incorrect calculation results.
For this reason, other methods must be provided.

For example, this is the way to do it.
Prepare a dedicated input field (window will be longer)
Create a dedicated component that "looks exactly the same" as the NumberBox.

@veler veler added the under consideration We like the idea / feedback but don't commit to it yet. label Mar 19, 2023
@veler veler removed the under consideration We like the idea / feedback but don't commit to it yet. label Aug 30, 2023
@veler veler added this to the v2.0 milestone Aug 30, 2023
@anthonyhardman
Copy link

I'd be interested in working on this. Would you like the input to be in UTC ticks, or calculated relative to the selected time zone?

@veler
Copy link
Collaborator

veler commented Nov 8, 2023

Hi,
@btiteux is currently working on it for DevToys 2.0

@btiteux
Copy link
Collaborator

btiteux commented Nov 8, 2023

Hello, I'm currently migrating the timestamp converter.
I plan to support milliseconds and will see about adding the ticks support.

@veler veler linked a pull request Dec 30, 2023 that will close this issue
18 tasks
@veler veler closed this as completed Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Idea of improvement of existing feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants