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

TimeStamp from DateTime not working #126

Closed
speop opened this issue May 3, 2023 · 0 comments · Fixed by #127
Closed

TimeStamp from DateTime not working #126

speop opened this issue May 3, 2023 · 0 comments · Fixed by #127
Labels
bug Something isn't working

Comments

@speop
Copy link

speop commented May 3, 2023

When creating the TimeStamp from DateTime the code takes total ticks. As stated in definition there are 10,000 ticks in a millisecond (see TicksPerMillisecond) and 10 million ticks in a second. To redis it supplied just calling ToString() method but redis expects the timestamp in miliseconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants