>>> import datetime, calendar >>> now = datetime.datetime.now() >>> type(now) <type 'datetime.datetime'> >>> calendar.timegm(now.timetuple()) 1294833875
沒有留言:
張貼留言