Hello Heinz At 3:19 AM on Wednesday, March 27, 2002 you wrote the following about [Time of Day Regexp Help]:
Heinz> On Tuesday, March 26, 2002, 19:07:18 (-0500 GMT) Jan Rifkinson wrote: >> I was hoping that the macro would say afternoon up to >> 18:00, then evening. >> It seemed to me that logically <12:00 and <17:00 would produce the >> same result which seems to be the case. Shouldn't it be >> something like between 12:00 & 18:00 for afternoon, else >> evening? Heinz> Try this one. This is the time depended quicktemplate from Januk Heinz> Aggarwal. Heinz> /----- [ time depended greeting ] Heinz> | %IF:"%TIME='hh:mm:ss'"=>"04:00:00":"%IF:'%TIME=""hh:mm:ss""'<='11:59:59':'morning'"%- Heinz> | %IF:"%TIME='hh:mm:ss'"=>"12:00:00":"%IF:'%TIME=""hh:mm:ss""'<='16:59:59':'afternoon'"%- Heinz> | %IF:"%TIME='hh:mm:ss'"=>"17:00:00":"%IF:'%TIME=""hh:mm:ss""'<='23:59:59':'evening'"%- Heinz> | %IF:"%TIME='hh:mm:ss'"=>"00:00:00":"%IF:'%TIME=""hh:mm:ss""'<='03:59:59':'night'"%- Heinz> \----- Jan Rifkinson Ridgefield, CT USA TB! V1.60c/W2K_SP2/PGP Key ID: 0x3F14A060 ______________________________________________________ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]