unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* diary sexp help (Monday after 3rd Friday of month)
@ 2003-11-10 18:30 Bruce Durling
  2003-11-10 19:32 ` Edward M. Reingold
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Durling @ 2003-11-10 18:30 UTC (permalink / raw)


Hi,

I'm trying to write a diary sexp that will mark the Monday after the
3rd Friday of the month.

Marking the 3rd Friday is easy with 

%%(diary-float t 5 3)

I've also shamelessly copied the code for figuring out paydays based
on the working day on or before the desired date.

This one is stumping me, if I could figure out a date for it then I
would be fine. I just don't know how to do it based on the 3rd Friday.

All help is appreciated and I will continue to pay the community back
by giving emacs support and evangelism in my work place and beyond.

; )

cheers,
Bruce

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: diary sexp help (Monday after 3rd Friday of month)
  2003-11-10 18:30 diary sexp help (Monday after 3rd Friday of month) Bruce Durling
@ 2003-11-10 19:32 ` Edward M. Reingold
  0 siblings, 0 replies; 2+ messages in thread
From: Edward M. Reingold @ 2003-11-10 19:32 UTC (permalink / raw)
  Cc: bruce.durling

>>>>> "BD" == Bruce Durling <bruce.durling@sss-inc.com> writes:

    BD> Hi, I'm trying to write a diary sexp that will mark the Monday after
    BD> the 3rd Friday of the month.

That is the same as the first Monday on or after the 18th of the month.  Hence
use

%(diary-float t 1 1 18) Blah blah


-- 

Professor Edward M. Reingold                Email: reingold@iit.edu
Chairman, Department of Computer Science    Voice: (312) 567-3309
Illinois Institute of Technology            Assistant: (312) 567-5152
Stuart Building                             Fax:   (312) 567-5067
10 West 31st Street, Suite 236
Chicago, IL  60616-3729  U.S.A.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-10 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-10 18:30 diary sexp help (Monday after 3rd Friday of month) Bruce Durling
2003-11-10 19:32 ` Edward M. Reingold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).