Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. >>> test = time.time()
  2. >>> print(test)
  3. 1561378571.5154927
  4. >>> time.ctime(test)
  5. 'Mon Jun 24 14:16:11 2019'
  6. >>> test_after_N = test + 10**9 * 24 * 3600
  7. >>> print(test_after_N)
  8. 86401561378571.52
  9. >>> time.ctime(test_after_N)
  10. 'Sun Jun 27 13:16:11 2739926'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement