Has anyone saw a script with a function for show or print the days of any month in any year?

I know this could be a particular script but I have a particular requirement and I’m looking for.

Thanks