[HPADM] yesterday date manipulations

From: HAUTECOEUR Bruno (HAUTECOB@ESSILOR.fr)
Date: Wed Dec 29 2004 - 08:00:49 EST


Hi admins

in order to get the "yesterday" date, i use the following syntax:

`TZ=MET-1METDST+24 date +%d%m%Y`

This works fine for days from 2 to 30 or 31. But it doesn't work for the 1st
of the month.

Do to know the way to make this work also for the 1st day ?

Regards

________________
Bruno HAUTECOEUR
Architecte système Unix
DSI / Architecture & Systèmes - Essilor International
Tel: 33 (0)1 72 94 73 20 - Fax: 01 39 26 53 08
mail: hautecob@essilor.fr


--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:45 EDT