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

"from_time" and "to_time" format #58

Open
alijafari96 opened this issue Aug 24, 2022 · 1 comment
Open

"from_time" and "to_time" format #58

alijafari96 opened this issue Aug 24, 2022 · 1 comment

Comments

@alijafari96
Copy link

Hi,
I can't understand the time format used for the values of "from-time" and "to-time" parameters. Could anyone explain how I can convert date and time to the proper format? What's the logic behind the number like 1481179011?!

Thanks for your help.

@alijafari96
Copy link
Author

Seems it shows time since the epoch (midnight 1 January 1970 UTC) in seconds! You can use round(time.time()) in python after importing time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant