from datetime import datetime
# current date and time
currentDateTime = datetime.now()
print("Current Date Time is ", currentDateTime)
# convert datetime to timestamp
timestamp = datetime.timestamp(currentDateTime)
print("Current Unix Timestamp is ", timestamp)