The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
yesterday date month/date
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
yesterday date month/date
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
06-24-2008
ripat
Registered User
Join Date: Oct 2006
Location: Belgium
Posts: 438
If you have
GNU
date:
Code:
myVariable=$(date "+%m/%d" --date "now 1 day ago")
ripat
View Public Profile
Find all posts by ripat
Find ripat's past nominations received
Find ripat's present nominations given