code: function fromEpoch(val, def) {
      if (!is_1.isValue(val) || !is_1.isNumber(val))
          return to_1.toDefault(null, def);
      return new Date(val);
  }
docs: From Epoch
  Converts to a Date from an epoch.
  
  @param val the epoch value to convert to date.