From: Allen Belk <allen.belk () usm ! edu>
To: tru64-unix-managers
Subject: SUMMARY: How to manipulate dates and times under 4.0D
Date: Wed, 16 Jun 1999 00:28:58 +0000 [thread overview]
Message-ID: <96079044115748.tru64-unix-managers.marc@archive.invalid> (raw)
GNU's version of date did the trick. Downloaded sh-utils-1.16.tar.gz from
prep.ai.mit.edu. Thanks to Steve VanDevender and Tom Webster.
Allen Belk
| Allen Belk, Data Operations Supervisor
| Office of Technology Resources
| University of Southern Mississippi
| allen.belk@usm.edu | 601.266.4107
----- Original Message -----
From: Allen Belk <allen.belk@usm.edu>
To: tru64 <tru64-unix-managers@ornl.gov>
Sent: Tuesday, June 15, 1999 7:03 PM
Subject: How to manipulate dates and times under 4.0D
> 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@usm.edu | 601.266.4107
>
>
>
reply other threads:[~1999-06-16 0:28 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