RE: Special date/cal needs eg. "thrid friday of july"

"Kirkwood, David A." <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <954E3479CC27224785179CA04904214D0498E47B@0668-its-exmp01.us.saic.com>
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: [email protected] [mailto:[email protected]] On Behalf Of Martin Klier
Sent: Thursday, January 11, 2007 10:24 AM
To: [email protected]
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.