On Thu, 30 Oct 2014 15:30:50 -0400
"Theodore M Rolle, Jr." <[email protected]> wrote:

> I need to convert a date specification to a hard date.
> 
> Specification:
>    2nd & 4th Thu => November 13, 27
> 
> Intended use is to populate a PHP-generated calendar.

This is ugly, but you can do something like this (shell script for the
example... you'd have to rewrite in PHP):

    SECOND_THU=`(echo 'banner %'; echo 'msg [evaltrig("Thu Nov 8")]%') | remind 
-`
    echo $SECOND_THU

I wouldn't go near that with a 10-foot pole in production code, though... :)

Regards,

David.
_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
Remind is at http://www.roaringpenguin.com/products/remind

Reply via email to