Use an equal sign before date() like this
<<%=date()%>>
Glenn
>I have decided to use expandtemplate for the first time so I set up a simple process which executes as follows:
>
>response.expandtemplate('testtemplate.wc')
>
>testtemplate.wc contains date() within the proper open and close percentage tags. (I can't show the contents here, UT says I am not allowed to put tags in my text)
>
>The resulting page contains everything in the testtemplate.wc but the date() function is not evaluated. Why?
>
>
>TIA