NYIMI Jose (BMB) wrote:
Hello,

How to get the last day of a month using a korn shell command ?
So far I found the following :


echo `cal 12 2004` | awk '{print $NF}'


Do you have alternative ?

Your question is off-topic. If you want to know how to do it with perl, use the DateTime module. Otherwise, your question would be best asked somewhere else.


Regards,
Randy.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to