code: def write_timestamp(self, v):
          
          self.out.write(pack('>Q', long_t(calendar.timegm(v.utctimetuple()))))
docs: Write out a Python datetime.datetime object as a 64-bit integer
          representing seconds since the Unix epoch.