This blog is to help people who needs help beginners in technologies like Oracle Service Oriented Architecture ,Oracle Service Bus,Oracle Data Integrator ,PLSQL ,linux,Shell scripting,Python
Linux Commands-Date:To find first day or last day of particular month
Get link
Facebook
X
Pinterest
Email
Other Apps
How to find the first day or last day of a particular month in linux using DATE
First day:
date -d "-$(($(date +%d)-1)) days" +%d-%m-%Y
Last day:
date -d "1 month -$(date +%d) days" +%d-%m-%Y
Comments
Post a Comment