Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Unix date ??
You can try following ..........
>>>>>>
typeset -i this_mon
this_mon=`date +%0m`
echo $this_mon
typeset -i prev_mon
prev_mon=$this_mon-1
echo $prev_mon
<<<<<<<<<<
HTH,
Rajesh
-----Original Message-----
Sent: Monday, July 30, 2001 3:16 PM
To: Multiple recipients of list ORACLE-L
Hi all,
Unix...
My boss ask me to write script for house keeping last month files
what is the parameter to get system last month ? for example:
thismonth=`date ....
thismonth = thismonth - 1 is not working...
regards,
Sinardy
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Sinardy INET: sinardyxing_at_bcsis.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rajesh Dayal INET: Rajesh_at_ohitelecom.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Jul 30 2001 - 07:07:31 CDT
![]() |
![]() |