converting datetime to posix time,print(time.mktime(d.timetuple()))