Search Results

Search: Posts Made By: cards0622
3,304
Posted By cards0622
Need to pull Yesterdays Date...
I tried this and it works for the most part, but if the date is 20090301, it displays 20090300.

YESTERDAY=$((`date +%Y%m%d` -1))
3,475
Posted By cards0622
Wow, this is picky! :) That worked, thanks for...
Wow, this is picky! :) That worked, thanks for your help!
3,475
Posted By cards0622
Thanks, I am getting closer... ...
Thanks, I am getting closer...

now it is putting 'date +%Y%m%d' in {DATE}, not the value 20090303.
3,475
Posted By cards0622
Don't really understand what the "touch" does. I...
Don't really understand what the "touch" does. I thought this would work, but it isn't...

Store the Date as follows:

DATE=$(date +%Y%m%d)

Then email it like this...
cat...
3,475
Posted By cards0622
Retreiving and storing date...
First of all want to apologize for such a simple question. Very "new" to UNIX and have just taken a small intro class.

I need to pull back YYYYMMDD and store it in a field to be used later. I...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 05:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy