AdobeStock_455007340

Careful With Those Date Functions

CFML features an extensive array of date functions that you may use within your applications. But use these functions carefully. Some return date time objects, while many others return ordinal values (values relative to a specific starting point). If you are using several of these functions together you may need to convert between date time objects and ordinal values. (The DateAdd() function is useful for this type of conversion). (Applies to: ColdFusion All)

Leave a Reply