This method may be out of date, but if you add the CPAN for Date::Calc to a perl script you can write a script that will manipulate a given date to add / subtract dates and give days of the week, months etc as output or viseversa
David
-----Original Message-----
From: linux-admin-owner@xxxxxxxxxxxxxxx [mailto:linux-admin-owner@xxxxxxxxxxxxxxx] On Behalf Of Martin Klier
Sent: Thursday, January 11, 2007 10:24 AM
To: linux-admin@xxxxxxxxxxxxxxx
Subject: Special date/cal needs eg. "thrid friday of july"
Hi Linux Admins,
is there a command to get something like "thrid friday of july" or "second
wednesday each month"? I crossread the manuals for date and gcal, but it
seems to be impossible. Next thing I found was gcal, with
"--period-of-fixed-dates", but I have not been able to get useful results,
and
date -d "35 tuesday" (35th tuesday of a year), but I have not been able to
limit it to months nor selecting the year (by the way, I do not need it).
Has somebody experience with this one, and can you give me a hint where to
look, or even an example?
Thanks a lot in advance,
--
Mit freundlichen Grüßen
i.A. Martin Klier
Systemadministration / Datenbanken
-----------------------------------------------------------------
A.T.U Auto-Teile-Unger
Handels GmbH & Co. KG
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Newbie]
[Audio]
[Hams]
[Kernel Newbies]
[Util Linux NG]
[Security]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite Photos]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux Device Drivers]
[Samba]
[Video 4 Linux]
[Git]
[Linux Resources]
[Fedora Users]