Hi Marck,

It was foretold that on Friday, February 21, 2003 at 12:19 GMT +0000,
Marck Pearlstone would type:

> %if:"%SETPATTREGEXP='(?i)sat|sun'%REGEXPMATCH='%DOW'"="":%-
> "%if:_%TIME_>_08:30_:%-
> _%if:+%TIME+<+17:30+:%-
> +%To=''%To='Fred at Work <[EMAIL PROTECTED]>'+_"%-

> That does it. Saturday and Sunday ignored, working day is 8:30 to
> 17:30.

Does that really work?  Last time I tried (this was a while ago), the
strings are compared, not the numbers.  Of course my problem was that
in my locale, %TIME returns an AM/PM format string.  Perhaps one
should use %Time=&hh:nn& to be safe?

-- 
Thanks for writing,
 Januk Aggarwal




________________________________________________
Current version is 1.62 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to