i have a simple question, i need to convert back the dateformat in coldfusion, for example i transformed the dateformat in this way: #dateformat(attributes.start_date,'dd/mm/yyyy')# and the value was looking like: 15/01/2012 and the original is: {ts '2012-01-15 00:00:00'} all i need is to convert it back, in the original one from this 15/01/2012 to {ts '2012-01-15 00:00:00'} is it possible?
Thank you all for the help!
Use ParseDateTime() (or LSParseDateTime) function: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_m-r_11.html