The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-29-2005
rajan_ka1 rajan_ka1 is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 130
how to get month last date in unix

Hello

I want to get end date of the any month in unix . is there any function to do this.


we can get month from date command 'date +%b'
example:

If Feb month then last date is 28

if sep then last date 30. like this


thanks

please help