code: function amf3encDate(ts) {
      var buf = new Buffer(1);
      buf.writeUInt8(0x8, 0);
      var tsBuf = new Buffer(8);
      tsBuf.writeDoubleBE(ts, 0);
      return Buffer.concat([buf, amf3encUI29(1), tsBuf]); // We always do 1
  }
docs: AMF3 Encode Date
  @param ts
  @returns {Buffer}