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( )

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.