tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Thompson , Troy" <tthompson () tmisolutions ! com>
To: tru64-unix-managers
Subject: show date from x number of days ago
Date: Thu, 23 Mar 2000 19:00:29 +0000	[thread overview]
Message-ID: <96079341819712.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2000-03-23 19:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox