D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Date environmental variable



steve@xxxxxxxx wrote:
On Mon, Dec 09, 2002 at 03:10:30PM +0000, andy@xxxxxxxxxxxxxxxxxxxxxx wrote:

I want to save files with a .date extension (e.g. foo.09122002,
bar.html.09122002), had a poke around the documentation I have, and
can't find any clues. 

any ideas what I can use?

THEDATE=`date +%d%M%Y`

Steve

aha, its always so obvious, I'll try 'man date' when I get home

cheers

andy 


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly