tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Chua Koon Teck <koonteck () singnet ! com ! sg>
To: tru64-unix-managers
Subject: incrementing a date
Date: Sat, 23 Mar 1996 06:03:01 +0000	[thread overview]
Message-ID: <96076330121522.tru64-unix-managers.marc@archive.invalid> (raw)

Hi

Pls pardon me if my question is not directly relevant to OSF1.

How can I add to a date field to increment it by days in korn shell ? 
This is not just simply adding into the day field of the date because in a
date field, there is month and year. 

For example, if date = 31/3/96, if I will to add one day to it, it should
give me 1/4/96, and not 32/3/96.

Any help will be greatly appreciated.

Thank you.

Have a nice day.



Regards


____________________________________________________________________________
Chua Koon Teck	                  	
Singapore Telecom
Comcentre
SingNet			
email=koonteck@singnet.com.sg
URL="http://www.singnet.com.sg/~koonteck"
____________________________________________________________________________

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.i

mQCNAjCz3oAAAAEEALaaeL0E8AJ6NkL2XZI/BLn5UH9W2oy+iwXf+8QolN1NlRuP
EYYgqt9s5pnmR5t1jpl+OWNzYLGiovsEUm8lgtlXrVFtI+SpsJTrA+tvpyRL0UNu
bAVeMZTc2g9loHF5zab0AIG7QUrTu88oUJjDHMThpxdFLzJ0CKFv0KQasFflAAUR
tChDaHVhIEtvb24gVGVjayA8a29vbnRlY2tAc2luZ25ldC5jb20uc2c+
=4XZx
-----END PGP PUBLIC KEY BLOCK-----

                 reply	other threads:[~1996-03-23  6:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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