tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* incrementing a date
@ 1996-03-23  6:03 Chua Koon Teck
  0 siblings, 0 replies; only message in thread
From: Chua Koon Teck @ 1996-03-23  6:03 UTC (permalink / raw)
  To: tru64-unix-managers

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-----

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-03-23  6:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-23  6:03 incrementing a date Chua Koon Teck

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