code: function amf0encDate(ts) {
      var buf = new Buffer(11);
      buf.writeUInt8(0x0B, 0);
      buf.writeInt16BE(0, 1);
      buf.writeDoubleBE(ts, 3);
      return buf;
  }
docs: AMF0 Encode Date
  @param ts
  @returns {Buffer}