• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Using UDFs

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>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint