Thanks a lot tsdragon! That's a BIG help :)
I'm getting the month from a date function, so it shouldn't be necessary to check that it's a valid month. I guess I'll have to reduce it by 1 first though. January = month 0 right?
Hi.
I want to build a sub in a shell-script that can give me the last day of the month (or the number of days in a month), i.e. if I pass in "$year=2001" and "$month=11", the sub should return the number of days in the month November year 2001 (which should be 30). The sub...
Hi.
I want to build a sub that can give me the last day of the month (or the number of days in a month), i.e. if I pass in "$year=2001" and "$month=11", the sub should return the number of days in the month November year 2001 (which should be 30). The sub should be able to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.