Python Learning
Tuesday, 12 May 2020
What is the easiest way to get current GMT time in Unix timestamp format?
python2
and
python3
it is good to use time module
import
time int
(
time
.
time
())
1573708436
from :
https://stackoverflow.com/questions/16755394/what-is-the-easiest-way-to-get-current-gmt-time-in-unix-timestamp-format
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment