dendenners
Programmer
Hi,
I want a shell script function that will take in a month number as an argument and return the last day of that month. I can assume for leap years that the incoming month is in the system's current year. This will not be difficult to do, but I can't think of a concise way to do it. Can anyone else?
Thanks
I want a shell script function that will take in a month number as an argument and return the last day of that month. I can assume for leap years that the incoming month is in the system's current year. This will not be difficult to do, but I can't think of a concise way to do it. Can anyone else?
Thanks