incrementing a date

From: Chua Koon Teck <koonteck_at_singnet.com.sg>
Date: Sat, 23 Mar 1996 14:03:01 +0800 (SST)

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_at_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-----
Received on Sat Mar 23 1996 - 07:25:11 NZST

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