How to manipulate dates and times under 4.0D

From: Allen Belk <allen.belk_at_usm.edu>
Date: Tue, 15 Jun 1999 19:03:06 -0500

I am looking for a way to manipulate days and times by adding/subtracting X
number of days from the current date. For example, if todays date is
19990615 (date "+%Y%m%d"), how could I get the date two weeks from now - add
17 days to the current date? This is easy under OpenVMS using the DELTA
specifications. Even linux has the ability to manipulate dates in this
manner (date -d). I know I could write a script to manipulate the date
string as groups of integers but then I would have to accomodate for
calendar features. Any help would be appreciated.

Thanks,

Allen Belk

 | Allen Belk, Data Operations Supervisor
 | Office of Technology Resources
 | University of Southern Mississippi
 | allen.belk_at_usm.edu | 601.266.4107
Received on Wed Jun 16 1999 - 00:05:17 NZST

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