Constructs a Date from the date value, which is expected in ISO date format ("YYYY-MM-DD").


Date fromIsoValue(String value)
  1. value is a date in ISO format.


Using the fromIsoValue() function guarantees that the Date value is constructed correctly without the danger of runtime parse errors due to changing BDL date formatting or locale settings.


The following expression uses the value of the variable orderline.orders.orderdate to create a valid date for this value in the specified format:

Date.fromIsoValue(orderline.orders.orderdate.isoValue).format("DDD DD MMM YYYY")