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?

Try this one. This is the time depended quicktemplate from Januk
Aggarwal.

/----- [ time depended greeting ]
| %IF:"%TIME='hh:mm:ss'"=>"04:00:00":"%IF:'%TIME=""hh:mm:ss""'<='11:59:59':'morning'"%-
| 
|%IF:"%TIME='hh:mm:ss'"=>"12:00:00":"%IF:'%TIME=""hh:mm:ss""'<='16:59:59':'afternoon'"%-
| %IF:"%TIME='hh:mm:ss'"=>"17:00:00":"%IF:'%TIME=""hh:mm:ss""'<='23:59:59':'evening'"%-
| %IF:"%TIME='hh:mm:ss'"=>"00:00:00":"%IF:'%TIME=""hh:mm:ss""'<='03:59:59':'night'"%-
\-----
-- 
Best regards
 Heinz Hombergs                      mailto:[EMAIL PROTECTED]


  Written with The Bat! Version 1.60
  under Windows 98 4.10 Build 2222  A 


______________________________________________________
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to