code: function(value, options) {
      var format = options.dateOnly ?
        '{yyyy}-{MM}-{dd}' :
        '{yyyy}-{MM}-{dd} {hh}:{mm}:{ss}';
  
      var d = FxoUtils.parseDateTimeField(value);
      return d.parsed.format(format);
    }
docs: Input is a unix timestamp