From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079341819712.tru64-unix-managers.marc@archive.invalid> From: "Thompson , Troy" Date: Thu, 23 Mar 2000 19:00:29 +0000 To: tru64-unix-managers Subject: show date from x number of days ago X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079341819712 Hello All, I am running DU 4.0e, but this is more of a general unix question. Sorry if this doesn't belong on this list. I am looking for a way to add/subtract days from the current date for display, without changing the actual date/time. In Oracle I can do "sysdate - 3" to display the date from 3 days ago. I am looking for a way to display the date - x number of days. Eg. today is Thu Mar 23 I would like to a way to display Mon Mar 20 (today - 3 days) or Fri Mar 17 (today - 6 days) etc. Is there a command or script that will do this? Thanks in advance. Troy Thompson TMI Communications (613) 742-0010 ext 4406 tthompson@tmisolutions.com www.tmisolutions.com