From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,37d7a16bb2db2c0b,start X-Google-Attributes: gidfee84,public From: lloydy1090@my-dejanews.com Subject: Date Calculations Date: 1998/10/02 Message-ID: <6v2mt1$74e$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 397036135 X-Http-Proxy: 1.1 x3.dejanews.com:80 (Squid/1.1.22) for client 195.171.115.51 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Oct 02 14:05:21 1998 GMT Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) I want to be able to set a variable to the current date minus 7. I'm using date +"%d-%b-%y"to return the current date and I want to be able to return the same format for 1 week ago. I would be eternally grateful for any suggestions :-) TIA Lloydy -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum