Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Date Calculations
@ 1998-10-02  4:00 lloydy1090
  1998-10-09  4:00 `  Steven Winikoff 
  0 siblings, 1 reply; 8+ messages in thread
From: lloydy1090 @ 1998-10-02  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Date Calculations
@ 1996-05-14  4:00 Robert Reed
  0 siblings, 0 replies; 8+ messages in thread
From: Robert Reed @ 1996-05-14  4:00 UTC (permalink / raw)



Hello,

I'd like to do date arithmetic (e.g., get the date from two months
ago). I notice that "date" under Linux allows this, but I can't find a
similar facility under OSF.  Any suggestions would be appreciated.

Digital Unix (OSF/1) v3.2, DEC Alpha 2100

Thanks,
Robert Reed
rreed@ist.ucf.edu



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1998-11-13  5:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-02  4:00 Date Calculations lloydy1090
1998-10-09  4:00 `  Steven Winikoff 
1998-10-09  4:00   ` Chris Weber
1998-10-19  4:00   ` Mr Mayes
1998-10-29  5:00     ` Bob Vickers
1998-11-06  5:00       ` Richard Mayes
1998-11-13  5:00         ` Bob Vickers
  -- strict thread matches above, loose matches on Subject: below --
1996-05-14  4:00 Robert Reed

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