1834345 Members
2285 Online
110066 Solutions
New Discussion

date conversion script

 
SOLVED
Go to solution
Gerrit_1
Advisor

date conversion script

hi,

In a script I'm having the date in format:
date +%e/%m/%y
This gives me :
22/03/04

How can I get the date in this format for yesterday (21/03/04)?

Tx in advance.
I have a vision...... a television
1 REPLY 1
Sanjay Kumar Suri
Honored Contributor
Solution

Re: date conversion script

Check this thread

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=127973

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.