Date question

From: Brian Hostetter <brian_at_netins.net>
Date: Fri, 19 Feb 1999 15:12:40 -0600

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_at_netins.net 
Received on Fri Feb 19 1999 - 21:15:11 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT