Here's the description of codename parameter from dtlDateDropdown page on Wiki:
Specifies the name of a set of values from the ui_selection object that are displayed in the date drop-down control. The values are those values with code attributes that match the value specified for codename.
But I'm still not getting it. An example of use could be a great help here.