1<!--- cfcomment ---> 2<!--- nested <!--- cfcomment ---> ---> 3<!--- multi-line 4nested 5<!--- 6cfcomment 7---> 8---> 9<!-- html comment --> 10<html> 11<head> 12<title>Date Functions</title> 13</head> 14<body> 15<cfset RightNow = Now()> 16<cfoutput> 17 #RightNow#<br /> 18 #DateFormat(RightNow)#<br /> 19 #DateFormat(RightNow,"mm/dd/yy")#<br /> 20 #TimeFormat(RightNow)#<br /> 21 #TimeFormat(RightNow,"hh:mm tt")#<br /> 22 #IsDate(RightNow)#<br /> 23 #IsDate("January 31, 2007")#<br /> 24 #IsDate("foo")#<br /> 25 #DaysInMonth(RightNow)# 26</cfoutput> 27<cfset x="x"> 28<cfset y="y"> 29<cfset z="z"> 30<cfoutput group="x"> 31 #x# 32 <cfoutput>#y#</cfoutput> 33 #z# 34</cfoutput> 35</body> 36</html> 37 38<cfset person = "Paul"> 39<cfset greeting = "Hello #person#"> 40 41<cfset greeting = "Hello" & " world!"> 42<cfset a = 5> 43<cfset b = 10> 44<cfset c = a^b> 45<cfset c = a MOD b> 46<cfset c = a / b> 47<cfset c = a * b> 48<cfset c = a + b> 49<cfset c = a - b> 50<!--- <!-- another <!--- nested --> ---> comment ---> 51