O'Reilly logo

Programming ColdFusion by Rob Brooks-Bilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. Function Reference

ColdFusion functions are an integral part of the CFML coding environment. ColdFusion contains over 255 functions that allow you to manipulate data and format it to suit your specific requirements. Functions can be used for everything from performing mathematical calculations to formatting time and date values. This appendix contains reference material on all the ColdFusion functions through Version 5.0, along with proper syntax, a detailed description, and a working example where possible.

Array Functions

ArrayAppend( )

ArrayAvg( )

ArrayClear( )

ArrayDeleteAt( )

ArrayInsertAt( )

ArrayIsEmpty( )

ArrayLen( )

ArrayMax( )

ArrayMin( )

ArrayNew( )

ArrayPrepend( )

ArrayResize( )

ArraySet( )

ArraySort( )

ArraySum( )

ArraySwap( )

ArrayToList( )

IsArray( )

ListToArray( )

Date/Time Functions

CreateDate( )

CreateDateTime( )

CreateODBCDate( )

CreateODBCDateTime( )

CreateODBCTime( )

CreateTime( )

CreateTimeSpan( )

DateAdd( )

DateCompare( )

DateConvert( )

DateDiff( )

DateFormat( )

DatePart( )

Day( )

DayOfWeek( )

DayOfWeekAsString( )

DayOfYear( )

DaysInMonth( )

DaysInYear( )

FirstDayOfMonth( )

GetHTTPTimeString( )

GetTickCount( )

GetTimeZoneInfo( )

Hour( )

IsDate( )

IsLeapYear( )

IsNumericDate( )

LSDateFormat( )

LSParseDateTime( )

Minute( )

Month( )

MonthAsString( )

Now( )

ParseDateTime( )

Quarter( )

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required