You can use a UDF in all the same places you'd use a built-in function. The following code displays today's and tomorrow's dates using a mixture of built-in functions and UDFs (the function we created previously): <cfoutput> Today is: #DateFormat(Now())#<br> Tomorrow is: #DateFormat(Tomorrow())#<br> </cfoutput> |