Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unix. Get yesterdays date

user10566312Jul 19 2011 — edited Jul 19 2011
I want to get yesterday's date in YYYYMMDD format. I am working on AIX korn shell. I tried many commands but they gave error message.

*date --date yesterday*
date -v-1d
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 16 2011
Added on Jul 19 2011
2 comments
1,266 views