Extracts the ordinal for the second from a date/time object.
second(date)
→ returns numeric
date.second()
dt = createdatetime(2016,1,1,5,30,25);
s = second( dt );
writeoutput( s );
Expected Result: 25
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.