New to CF and seeking help with DateTimeFormat
Hi there,
I'm new to CF and trying to format a timestamp but no matter what I try I am unable to get the DateTimeFormat function to work successfully so I am hoping that some one with more experience might be able to quickly identify what I am doing incorrectly.
Goal: trim the timestamp
<cfscript>
unformattedTime = "{ts '2018-11-05 12:13:50'}";
formattedTime = DateTimeFormat(unformattedTime, "yyyy-mm-dd HH:nn:ss");
writeOutput(formattedTime);
</cfscript>
Expected Output: 2018-11-05 12:13:50
Actual output: nothing
