DfListHolidays country codes

I try to get market holiday information for Italy, Netherlands and Greece. Could somebody please tell me the country codes for the function DfListHolidays()? I tried ITA, ITY, NLD, NET and GRC. But I get the error message "Error: ERROR 5000 - Calendars : calendar(s) not found."

Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

  • m.bunkowski
    Answer ✓

    Hi @ma20181

    There are few ways of getting the country codes. Since you are using Adfins you can get them with =AdStyleAttribute() function.

    If you want to get the calendar style you need to provide three arguments where two are fixed the the third is the ISO currency code. For the countries that currently has EUR you would need to provide the ISO currency code before conversion to EUR.
    The example for Greek Drahma and the output should be 'GRE'

    =AdStyleAttribute("CUR","GRD","CLDR")

    Similar with
    Netherland 'NLG' - NTL
    Italy ITL - ITL

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.