[Remind-Fans] Monthly trigger/count

David F. Skoll dfs at roaringpenguin.com
Sun Apr 10 22:14:25 EDT 2005


juman wrote:

> REM 15 OCT Something happend [monthsince(200403)] months ago
> Any idea howto create such a function?

It's easy:

FSET monthsince(y, m) 12*(year(trigdate()) - y) + monnum(trigdate()) - m

# Example:

REM 15 OCT MSG Something happened [monthsince(2004, 3)] months ago.

--
David.



More information about the Remind-fans mailing list