Friday, 6 September 2013

shell script to get year, date and month from YYYY-MM-DD format

shell script to get year, date and month from YYYY-MM-DD format

I am running a shell script which accepts date in "YYYY-MM-DD" format.
from this date input, how can i get year, month and day separately?
Thanks for replies in advance.

No comments:

Post a Comment