Adobe ColdFusion 8

Invoking component methods in CFML

The following example uses CFML tags to produce the same results as the CFScript example:

<cfobject name="tellTimeObj" component="tellTime">
<cfoutput>
    Server's Local Time: #tellTimeObj.getLocalTime()#<br>
    Calculated UTC Time: #tellTimeObj.getUTCTime()#
</cfoutput>