Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python timestamp

from datetime import datetime

# Returns a datetime object containing the local date and time
dateTimeObj = datetime.now()

print(dateTimeObj)

# Output
# 2018-11-18 09:32:36.435350
Source by thispointer.com #
 
PREVIOUS NEXT
Tagged: #python #timestamp
ADD COMMENT
Topic
Name
9+5 =