tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Date question
@ 1999-02-19 21:12 Brian Hostetter
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Hostetter @ 1999-02-19 21:12 UTC (permalink / raw)
  To: tru64-unix-managers


Is there any way in DU to get yesterdays date with the date command?  In
linux it is as simpe as doing a 
date --'2 days ago' 

I am trying to find out yesterdays date in the form
YYMMDD.  The following will do the correct format, I just dont know how to
find yesterday with out some elaborate perl script.


bash-2.02# date +"%y%m%d"
990219

TIA,
Brian


--
Brian Hostetter
brian@netins.net 

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

* Date Question.
@ 2003-06-11 11:18 Maaskant, Gert
  0 siblings, 0 replies; 2+ messages in thread
From: Maaskant, Gert @ 2003-06-11 11:18 UTC (permalink / raw)




Hi Managers,

We running tru64 5.1.
What I want is the date in seconds from 1-Jan-1970.
On RedHat Linux for example there is a date +%s command. On tru64 I cannot
find similar .

Can someone help me ?



Thanks, Gert Maaskant
Centric IT Solutions.




------------------------------------- 
The information included in this message is personal and/or confidential and
intended exclusively for the addressees as stated. This message and/or the
accompanying documents may contain confidential information and should be
handled accordingly. If you are not the intended reader of this message, we
urgently request that you notify Centric immediately and that you delete
this e-mail and any copies of it from your system and destroy any printouts
immediately. 
It is forbidden to distribute, reproduce, use or disclose the information in
this e-mail to third parties without obtaining prior permission from
Centric. We expressly point out that there are risks associated with the use
of e-mail. Centric and the companies within the group shall not accept any
liability whatsoever for damage resulting from the use of e-mail. Legally
binding obligations can only arise for Centric by means of a written
instrument, signed by an authorized representative of Centric. 
------------------------------------- 




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

end of thread, other threads:[~2003-06-11 11:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-19 21:12 Date question Brian Hostetter
  -- strict thread matches above, loose matches on Subject: below --
2003-06-11 11:18 Date Question Maaskant, Gert

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