[Remind-Fans] Help calculating payday
fREW Schmidt
frioux at gmail.com
Sat Apr 27 18:56:41 EDT 2013
On Sun, Apr 28, 2013 at 12:32:37AM +0200, Simon Ruderich wrote:
> On Sat, Apr 27, 2013 at 04:15:25PM -0500, fREW Schmidt wrote:
> > Hi all,
> >
> > I'm trying (as an excercise mostly) to figure out how to represent my
> > payday in remind. The way payday works at my company is that it is
> > the fourth weekday of the month. So to be clear, in June of this year
> > that would end up being the 6th.
> >
> > Do I have to use a user defined function for this? I don't see a way to
> > do it with the ... less programmatic syntax, as - goes backwards and +
> > means something else entirely.
>
> REM Mon Tue Wed Thu Fri 4 MSG Payday
>
<snip>
>
> [1]: http://www.roaringpenguin.com/files/download/remind-oclug.pdf
I actually read that PDF and tried that exact example. The problem is
that it doesn't actually do what I'm trying to do. If I understand
correctly the command above triggers for the first weekday after the
fourth. What I need is the fourth weekday of the month. If you look
at June 2013 the fourth weekday (not the first weekday after the
fourth) is the 6th.
--
fREW Schmidt
http://blog.afoolishmanifesto.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.roaringpenguin.com/pipermail/remind-fans/attachments/20130427/b4d84419/attachment.pgp>
More information about the Remind-fans
mailing list