Use dot notation to set dateFormat