forex(origin: text, destination: text) 🡒 date, pure function

Returns the date of the latest exchange rate found for a pair of currencies. The currencies should be encoded with their canonical three-letter codes. Not all exchange rates are uploaded daily to the European Central Bank.

table T = with
  [| as Code |]
  [| "JPY" |]
  [| "USD" |]
  [| "EUR" |]

show table "to CHF" a1b3 with
  lastForex(T.Code, "CHF")

See also

User Contributed Notes
0 notes + add a note