Please post a new topic as people in the forum doesn’t look at a solve strings.
search for EDNA date Table or @Melissa posting
Here is the link for the date table m code
Extended Date Table (Power Query M function) - Power Query / M Code Showcase - Enterprise DNA Forum
also you can find the code in Analyst Hub
I hope this helps.
thanks
Keith