27 January 2017

Get timestamp in seconds as integer in Python using the time library.

Source code viewer
  1. import time
  2. print int(time.time())
Programming Language: Python