lsParseDateTime

Converts a string that is a valid date/time representation in the current locale into a date/time object.

lsParseDateTime(dt_string) → returns date

Argument Reference

dt_string string
Required

Examples
Sample code invoking the lsParseDateTime function

This example illustrates use of the lsParseDateTime function.

lsParseDateTime("01/08/2011")

Expected Result: {ts '2011-01-08 00:00:00'}

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub